METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; fr . IDENT_1 . IDENT_2 . core . persistence . dao . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( fr . IDENT_1 . IDENT_2 . core . persistence . dao . IDENT_3 . class ) ; fr . IDENT_1 . IDENT_2 . core . business . process . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( fr . IDENT_1 . IDENT_2 . core . business . process . IDENT_5 . class ) ; fr . IDENT_1 . IDENT_2 . core . persistence . entity . IDENT_7 IDENT_8 = new fr . IDENT_1 . IDENT_2 . core . persistence . entity . METHOD_1 ( IDENT_0 ) ; when ( IDENT_4 . update ( IDENT_8 ) ) . thenReturn ( IDENT_8 ) ; IDENT_9 = new fr . IDENT_1 . IDENT_2 . core . business . service . METHOD_2 ( ) ; IDENT_9 . IDENT_10 = IDENT_4 ; IDENT_9 . IDENT_6 = IDENT_6 ; IDENT_9 . init ( ) ; IDENT_9 . update ( IDENT_8 ) ; fr . IDENT_1 . IDENT_2 . core . persistence . entity . METHOD_1 IDENT_11 = IDENT_9 . find ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } find ( java . lang . String ) { javax . persistence . Query query = IDENT_12 . METHOD_3 ( METHOD_1 . IDENT_13 ) ; query . METHOD_4 ( METHOD_1 . IDENT_14 , IDENT_0 ) ; fr . IDENT_1 . IDENT_2 . core . persistence . entity . METHOD_1 IDENT_8 = ( ( fr . IDENT_1 . IDENT_2 . core . persistence . entity . METHOD_1 ) ( query . METHOD_5 ( ) ) ) ; for ( fr . IDENT_1 . IDENT_2 . core . persistence . entity . IDENT_15 IDENT_16 : IDENT_8 . METHOD_6 ( ) ) { IDENT_16 . METHOD_7 ( ) ; IDENT_16 . METHOD_8 ( ) ; } return IDENT_8 ; }
org . junit . Assert . assertNotNull ( IDENT_11 )