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