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