METHOD_0 ( ) { org . oscarehr . common . model . IDENT_0 entity = new org . oscarehr . common . model . METHOD_1 ( ) ; org . oscarehr . common . dao . utils . IDENT_1 . METHOD_2 ( entity ) ; entity . METHOD_3 ( 1 ) ; entity . METHOD_4 ( 1 ) ; dao . METHOD_5 ( entity ) ; entity = new org . oscarehr . common . model . METHOD_1 ( ) ; org . oscarehr . common . dao . utils . IDENT_1 . METHOD_2 ( entity ) ; entity . METHOD_3 ( 1 ) ; entity . METHOD_4 ( 2 ) ; dao . METHOD_5 ( entity ) ; org . oscarehr . common . model . METHOD_1 IDENT_2 = dao . search ( 2 , 1 ) ; "<AssertPlaceHolder>" ; } search ( java . lang . Integer , java . lang . Integer ) { java . lang . String IDENT_3 = STRING_0 ; javax . persistence . Query query = IDENT_4 . METHOD_6 ( IDENT_3 ) ; query . METHOD_7 ( 1 , IDENT_5 ) ; query . METHOD_7 ( 2 , IDENT_6 ) ; @ org . oscarehr . common . dao . METHOD_8 ( STRING_1 ) java . util . List < org . oscarehr . common . model . IDENT_7 > results = query . METHOD_9 ( ) ; if ( ( results . size ( ) ) > 0 ) { return results . get ( 0 ) ; } return null ; }
org . junit . Assert . assertNotNull ( IDENT_2 )