METHOD_0 ( ) { org . finra . herd . model . api . xml . IDENT_0 IDENT_1 = new org . finra . herd . model . api . xml . METHOD_1 ( IDENT_2 , IDENT_3 ) ; org . finra . herd . model . jpa . IDENT_4 IDENT_5 = new org . finra . herd . model . jpa . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( org . finra . herd . service . impl . IDENT_2 ) ; org . finra . herd . model . jpa . IDENT_6 IDENT_7 = new org . finra . herd . model . jpa . METHOD_4 ( ) ; IDENT_7 . METHOD_3 ( org . finra . herd . service . impl . IDENT_3 ) ; org . finra . herd . model . jpa . IDENT_8 IDENT_9 = new org . finra . herd . model . jpa . METHOD_5 ( ) ; IDENT_9 . setId ( org . finra . herd . service . IDENT_10 . IDENT_11 ) ; IDENT_9 . METHOD_6 ( IDENT_5 ) ; IDENT_9 . METHOD_7 ( IDENT_7 ) ; when ( IDENT_12 . METHOD_8 ( IDENT_1 ) ) . thenReturn ( IDENT_9 ) ; org . finra . herd . model . api . xml . IDENT_13 result = IDENT_14 . METHOD_9 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_15 ) . METHOD_10 ( IDENT_1 ) ; verify ( IDENT_12 ) . METHOD_8 ( IDENT_1 ) ; verify ( IDENT_16 ) . delete ( IDENT_9 ) ; METHOD_11 ( ) ; } METHOD_9 ( org . finra . herd . model . api . xml . METHOD_1 ) { IDENT_15 . METHOD_10 ( IDENT_1 ) ; org . finra . herd . model . jpa . METHOD_5 IDENT_9 = IDENT_12 . METHOD_8 ( IDENT_1 ) ; IDENT_16 . delete ( IDENT_9 ) ; return METHOD_12 ( IDENT_9 ) ; }
org . junit . Assert . assertEquals ( new org . finra . herd . model . api . xml . METHOD_13 ( org . finra . herd . service . IDENT_10 . IDENT_11 , IDENT_1 ) , result )