METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; java . lang . String result = dao . METHOD_1 ( IDENT_0 , IDENT_1 ) ; java . lang . String IDENT_2 = STRING_2 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { javax . persistence . Query query = IDENT_3 . METHOD_2 ( STRING_3 ) ; query . METHOD_3 ( STRING_4 , IDENT_1 ) ; query . METHOD_3 ( STRING_5 , ( code + STRING_6 ) ) ; query . METHOD_3 ( STRING_7 , java . util . Calendar . getInstance ( ) . getTime ( ) ) ; java . util . List < org . oscarehr . common . model . IDENT_4 > list = query . METHOD_4 ( ) ; if ( ( list . size ( ) ) == 0 ) { return STRING_2 ; } return list . get ( 0 ) . METHOD_5 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , result )