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 , IDENT_4 , IDENT_5 , IDENT_6 , IDENT_7 , true , IDENT_8 , IDENT_9 , IDENT_10 , IDENT_11 , IDENT_12 , IDENT_13 . METHOD_2 ( ) , IDENT_13 . METHOD_3 ( ) , IDENT_14 , IDENT_15 , IDENT_16 , IDENT_17 , IDENT_18 , IDENT_19 , IDENT_20 ) ; org . finra . herd . model . api . xml . IDENT_21 IDENT_22 = new org . finra . herd . model . api . xml . METHOD_4 ( IDENT_3 , IDENT_4 , IDENT_5 , IDENT_6 , IDENT_7 ) ; when ( IDENT_23 . METHOD_5 ( IDENT_22 ) ) . thenReturn ( IDENT_1 ) ; IDENT_13 . METHOD_6 ( ) ; org . finra . herd . model . api . xml . METHOD_1 IDENT_24 = IDENT_25 . METHOD_5 ( org . finra . herd . rest . IDENT_3 , org . finra . herd . rest . IDENT_4 , org . finra . herd . rest . IDENT_5 , org . finra . herd . rest . IDENT_6 , org . finra . herd . rest . IDENT_7 ) ; verify ( IDENT_23 ) . METHOD_5 ( IDENT_22 ) ; METHOD_7 ( IDENT_23 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . finra . herd . model . api . xml . METHOD_4 ) { IDENT_26 . METHOD_8 ( IDENT_22 ) ; org . finra . herd . model . jpa . IDENT_27 IDENT_28 = IDENT_29 . METHOD_9 ( IDENT_22 ) ; org . finra . herd . model . jpa . IDENT_30 IDENT_31 = IDENT_28 . METHOD_10 ( ) ; if ( ( IDENT_32 . METHOD_11 ( IDENT_22 ) ) > 0L ) { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_0 , IDENT_26 . METHOD_12 ( IDENT_28 ) ) ) ; } if ( ! ( IDENT_28 . METHOD_13 ( ) . isEmpty ( ) ) ) { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_1 , IDENT_26 . METHOD_12 ( IDENT_28 ) ) ) ; } org . finra . herd . model . api . xml . METHOD_1 IDENT_24 = IDENT_26 . METHOD_14 ( IDENT_28 ) ; if ( IDENT_28 . equals ( IDENT_28 . METHOD_10 ( ) . METHOD_15 ( ) ) ) { IDENT_28 . METHOD_10 ( ) . METHOD_16 ( null ) ; IDENT_33 . METHOD_17 ( IDENT_28 . METHOD_10 ( ) ) ; } java . util . List < org . finra . herd . model . jpa . IDENT_34 > IDENT_35 = new java . util . ArrayList ( ) ; for ( org . finra . herd . model . jpa . IDENT_36 IDENT_37 : IDENT_28 . METHOD_18 ( ) ) { IDENT_35 . add ( IDENT_37 . METHOD_19 ( ) ) ; } IDENT_38 . delete ( IDENT_28 ) ; if ( IDENT_28 . METHOD_20 ( ) ) { java . lang . Integer IDENT_39 = IDENT_38 . METHOD_21 ( IDENT_22 ) ; if ( IDENT_39 != null ) { org . finra . herd . model . jpa . IDENT_27 IDENT_40 = IDENT_38 . METHOD_22 ( new org . finra . herd . model . api . xml . METHOD_4 ( IDENT_22 . METHOD_23 ( ) , IDENT_22 . METHOD_24 ( ) , IDENT_22 . METHOD_25 ( ) , IDENT_22 . METHOD_26 ( ) , IDENT_39 ) ) ; IDENT_40 . METHOD_27 ( true ) ; IDENT_40 . METHOD_28 ( IDENT_28 . METHOD_29 ( ) ) ; IDENT_40 . METHOD_30 ( IDENT_28 . METHOD_31 ( ) ) ; IDENT_40 . METHOD_32 ( IDENT_28 . METHOD_33 ( ) ) ; IDENT_40 . METHOD_34 ( IDENT_28 . METHOD_35 ( ) ) ; for ( org . finra . herd . model . jpa . IDENT_34 IDENT_41 : IDENT_35 ) { org . finra . herd . model . jpa . IDENT_36 IDENT_37 = new org . finra . herd . model . jpa . METHOD_36 ( ) ; IDENT_40 . METHOD_18 ( ) . add ( IDENT_37 ) ; IDENT_37 . METHOD_37 ( IDENT_40 ) ; IDENT_37 . METHOD_38 ( IDENT_41 ) ; } IDENT_38 . METHOD_17 ( IDENT_40 ) ; } } org . finra . herd . service . impl . IDENT_42 . LOGGER . info ( ( STRING_2 + STRING_3 ) , IDENT_31 . getId ( ) , org . finra . herd . service . impl . IDENT_43 ) ; IDENT_44 . METHOD_39 ( IDENT_31 , org . finra . herd . service . impl . IDENT_43 ) ; return IDENT_24 ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_24 )