METHOD_0 ( ) { org . IDENT_0 . business . IDENT_1 . entities . IDENT_2 IDENT_3 = METHOD_1 ( ) ; org . IDENT_0 . business . test . IDENT_1 . entities . IDENT_4 . METHOD_2 ( IDENT_3 , IDENT_5 . IDENT_6 . getType ( ) , new java . math . BigDecimal ( 1000 ) , new java . math . BigDecimal ( INT_0 ) , true ) ; IDENT_7 . save ( IDENT_3 ) ; IDENT_7 . METHOD_3 ( ) ; java . lang . Long id = IDENT_3 . getId ( ) ; org . IDENT_0 . business . IDENT_1 . entities . IDENT_2 found = ( ( org . IDENT_0 . business . IDENT_1 . entities . IDENT_2 ) ( IDENT_7 . find ( id ) ) ) ; "<AssertPlaceHolder>" ; IDENT_7 . remove ( IDENT_3 . METHOD_4 ( ) . getId ( ) ) ; IDENT_7 . METHOD_3 ( ) ; try { IDENT_7 . find ( id ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . IDENT_0 . business . common . exceptions . IDENT_8 IDENT_9 ) { } } find ( org . IDENT_10 . IDENT_11 . data . IDENT_12 ) { java . util . List < org . IDENT_10 . IDENT_11 . IDENT_13 > IDENT_14 = METHOD_5 ( ) ; for ( org . IDENT_10 . IDENT_11 . IDENT_13 IDENT_15 : IDENT_14 ) { if ( IDENT_15 . METHOD_6 ( ) . equals ( task ) ) { return IDENT_15 ; } } return null ; }
org . junit . Assert . assertNotNull ( found )