METHOD_0 ( ) { boolean IDENT_0 = true ; int IDENT_1 = INT_0 ; int IDENT_2 = INT_1 ; 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 ) ) ; IDENT_4 . METHOD_4 ( IDENT_2 ) ; dao . METHOD_5 ( 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_0 ) ) ; IDENT_6 . METHOD_4 ( IDENT_1 ) ; dao . METHOD_5 ( 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_0 ) ; IDENT_7 . METHOD_4 ( IDENT_1 ) ; dao . METHOD_5 ( IDENT_7 ) ; org . oscarehr . common . model . METHOD_1 IDENT_8 = IDENT_6 ; org . oscarehr . common . model . METHOD_1 result = dao . METHOD_6 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . Integer ) { javax . persistence . Query query = IDENT_9 . METHOD_7 ( STRING_0 ) ; query . METHOD_8 ( 1 , IDENT_10 ) ; @ org . oscarehr . common . dao . METHOD_9 ( STRING_1 ) java . util . List < org . oscarehr . common . model . METHOD_1 > results = query . METHOD_10 ( ) ; java . util . IDENT_11 < org . oscarehr . common . model . METHOD_1 > IDENT_12 = results . METHOD_11 ( ) ; if ( IDENT_12 . hasNext ( ) ) { return IDENT_12 . next ( ) ; } else { return null ; } }
org . junit . Assert . assertEquals ( IDENT_8 , result )