METHOD_0 ( ) { METHOD_1 ( ) ; org . finra . herd . model . api . xml . IDENT_0 IDENT_1 = new org . finra . herd . model . api . xml . METHOD_2 ( IDENT_2 , IDENT_3 , IDENT_4 , IDENT_5 , 0 ) ; org . finra . herd . model . jpa . IDENT_6 IDENT_7 = IDENT_8 . METHOD_3 ( IDENT_1 ) ; java . lang . String IDENT_9 = java . lang . String . format ( STRING_0 , IDENT_10 . METHOD_4 ( IDENT_7 ) ) ; try { IDENT_11 . METHOD_5 ( IDENT_1 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . IllegalArgumentException ex ) { "<AssertPlaceHolder>" ; } } METHOD_5 ( org . finra . herd . model . api . xml . METHOD_2 ) { IDENT_10 . METHOD_6 ( IDENT_12 ) ; org . finra . herd . model . jpa . IDENT_6 IDENT_13 = IDENT_14 . METHOD_7 ( IDENT_12 ) ; org . finra . herd . model . jpa . IDENT_15 IDENT_16 = IDENT_13 . METHOD_8 ( ) ; if ( ( IDENT_17 . METHOD_9 ( IDENT_12 ) ) > 0L ) { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_2 , IDENT_10 . METHOD_4 ( IDENT_13 ) ) ) ; } if ( ! ( IDENT_13 . METHOD_10 ( ) . isEmpty ( ) ) ) { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_0 , IDENT_10 . METHOD_4 ( IDENT_13 ) ) ) ; } org . finra . herd . model . api . xml . IDENT_18 IDENT_19 = IDENT_10 . METHOD_11 ( IDENT_13 ) ; if ( IDENT_13 . equals ( IDENT_13 . METHOD_8 ( ) . METHOD_12 ( ) ) ) { IDENT_13 . METHOD_8 ( ) . METHOD_13 ( null ) ; IDENT_20 . METHOD_14 ( IDENT_13 . METHOD_8 ( ) ) ; } java . util . List < org . finra . herd . model . jpa . IDENT_21 > IDENT_22 = new java . util . ArrayList ( ) ; for ( org . finra . herd . model . jpa . IDENT_23 IDENT_24 : IDENT_13 . METHOD_15 ( ) ) { IDENT_22 . add ( IDENT_24 . METHOD_16 ( ) ) ; } IDENT_8 . delete ( IDENT_13 ) ; if ( IDENT_13 . METHOD_17 ( ) ) { java . lang . Integer IDENT_25 = IDENT_8 . METHOD_18 ( IDENT_12 ) ; if ( IDENT_25 != null ) { org . finra . herd . model . jpa . IDENT_6 IDENT_26 = IDENT_8 . METHOD_3 ( new org . finra . herd . model . api . xml . METHOD_2 ( IDENT_12 . METHOD_19 ( ) , IDENT_12 . METHOD_20 ( ) , IDENT_12 . METHOD_21 ( ) , IDENT_12 . METHOD_22 ( ) , IDENT_25 ) ) ; IDENT_26 . METHOD_23 ( true ) ; IDENT_26 . METHOD_24 ( IDENT_13 . METHOD_25 ( ) ) ; IDENT_26 . METHOD_26 ( IDENT_13 . METHOD_27 ( ) ) ; IDENT_26 . METHOD_28 ( IDENT_13 . METHOD_29 ( ) ) ; IDENT_26 . METHOD_30 ( IDENT_13 . METHOD_31 ( ) ) ; for ( org . finra . herd . model . jpa . IDENT_21 IDENT_27 : IDENT_22 ) { org . finra . herd . model . jpa . IDENT_23 IDENT_24 = new org . finra . herd . model . jpa . METHOD_32 ( ) ; IDENT_26 . METHOD_15 ( ) . add ( IDENT_24 ) ; IDENT_24 . METHOD_33 ( IDENT_26 ) ; IDENT_24 . METHOD_34 ( IDENT_27 ) ; } IDENT_8 . METHOD_14 ( IDENT_26 ) ; } } org . finra . herd . service . impl . IDENT_28 . LOGGER . info ( ( STRING_3 + STRING_4 ) , IDENT_16 . getId ( ) , org . finra . herd . service . impl . IDENT_29 ) ; IDENT_30 . METHOD_35 ( IDENT_16 , org . finra . herd . service . impl . IDENT_29 ) ; return IDENT_19 ; }
org . junit . Assert . assertEquals ( IDENT_9 , ex . getMessage ( ) )