METHOD_0 ( ) { int IDENT_0 = 100 ; int IDENT_1 = 200 ; int IDENT_2 = INT_0 ; java . lang . String IDENT_3 = STRING_0 ; java . lang . String IDENT_4 = STRING_1 ; org . oscarehr . common . model . IDENT_5 IDENT_6 = new org . oscarehr . common . model . METHOD_1 ( ) ; org . oscarehr . common . dao . utils . IDENT_7 . METHOD_2 ( IDENT_6 ) ; IDENT_6 . METHOD_3 ( IDENT_0 ) ; IDENT_6 . METHOD_4 ( IDENT_3 ) ; dao . METHOD_5 ( IDENT_6 ) ; org . oscarehr . common . model . METHOD_1 IDENT_8 = new org . oscarehr . common . model . METHOD_1 ( ) ; org . oscarehr . common . dao . utils . IDENT_7 . METHOD_2 ( IDENT_8 ) ; IDENT_8 . METHOD_3 ( IDENT_1 ) ; IDENT_8 . METHOD_4 ( IDENT_4 ) ; dao . METHOD_5 ( IDENT_8 ) ; org . oscarehr . common . model . METHOD_1 IDENT_9 = new org . oscarehr . common . model . METHOD_1 ( ) ; org . oscarehr . common . dao . utils . IDENT_7 . METHOD_2 ( IDENT_9 ) ; IDENT_9 . METHOD_3 ( IDENT_2 ) ; IDENT_9 . METHOD_4 ( IDENT_3 ) ; dao . METHOD_5 ( IDENT_9 ) ; org . oscarehr . common . model . METHOD_1 IDENT_10 = IDENT_9 ; org . oscarehr . common . model . METHOD_1 result = dao . METHOD_6 ( IDENT_2 , IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . Integer , java . lang . String ) { java . lang . String IDENT_11 = STRING_2 ; javax . persistence . Query query = IDENT_12 . METHOD_7 ( IDENT_11 ) ; query . METHOD_8 ( 1 , IDENT_13 ) ; query . METHOD_8 ( 2 , IDENT_14 ) ; @ org . oscarehr . common . dao . METHOD_9 ( STRING_3 ) java . util . List < org . oscarehr . common . model . METHOD_1 > results = query . METHOD_10 ( ) ; if ( results . isEmpty ( ) ) { return null ; } else { return results . get ( 0 ) ; } }
org . junit . Assert . assertEquals ( IDENT_10 , result )