METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; java . util . Date date = new java . util . Date ( IDENT_2 . parse ( STRING_2 ) . getTime ( ) ) ; org . oscarehr . common . model . IDENT_3 IDENT_4 = METHOD_1 ( STRING_0 , STRING_1 , STRING_3 ) ; org . oscarehr . common . model . IDENT_3 IDENT_5 = METHOD_1 ( STRING_4 , STRING_1 , STRING_5 ) ; org . oscarehr . common . model . IDENT_3 IDENT_6 = METHOD_1 ( STRING_6 , STRING_1 , STRING_7 ) ; org . oscarehr . common . model . IDENT_3 IDENT_7 = METHOD_1 ( STRING_0 , STRING_1 , STRING_8 ) ; org . oscarehr . common . model . IDENT_3 IDENT_8 = METHOD_1 ( STRING_0 , STRING_9 , STRING_7 ) ; dao . METHOD_2 ( IDENT_4 ) ; dao . METHOD_2 ( IDENT_5 ) ; dao . METHOD_2 ( IDENT_6 ) ; dao . METHOD_2 ( IDENT_7 ) ; dao . METHOD_2 ( IDENT_8 ) ; org . oscarehr . common . model . IDENT_3 IDENT_9 = IDENT_6 ; org . oscarehr . common . model . IDENT_3 result = dao . METHOD_3 ( IDENT_0 , IDENT_1 , date ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String , java . util . Date ) { javax . persistence . Query query = IDENT_10 . METHOD_4 ( STRING_10 ) ; query . METHOD_5 ( STRING_11 , IDENT_1 ) ; query . METHOD_5 ( STRING_12 , ( str + STRING_13 ) ) ; query . METHOD_5 ( STRING_14 , IDENT_11 ) ; java . util . List < org . oscarehr . common . model . IDENT_3 > list = query . METHOD_6 ( ) ; if ( ( list == null ) || ( ( list . size ( ) ) < 1 ) ) { return null ; } return list . get ( ( ( list . size ( ) ) - 1 ) ) ; }
org . junit . Assert . assertEquals ( IDENT_9 , result )