METHOD_0 ( ) { org . finra . herd . model . api . xml . IDENT_0 IDENT_1 = new org . finra . herd . model . api . xml . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( org . finra . herd . rest . IDENT_2 ) ; java . util . List < java . lang . String > IDENT_3 = IDENT_4 . METHOD_3 ( ) ; int IDENT_5 = 1 ; int IDENT_6 = ( IDENT_3 . size ( ) ) - 2 ; org . finra . herd . model . api . xml . IDENT_7 IDENT_8 = new org . finra . herd . model . api . xml . METHOD_4 ( ) ; IDENT_8 . METHOD_5 ( IDENT_3 . get ( IDENT_5 ) ) ; IDENT_8 . METHOD_6 ( IDENT_3 . get ( IDENT_6 ) ) ; org . finra . herd . model . api . xml . IDENT_9 IDENT_10 = new org . finra . herd . model . api . xml . METHOD_7 ( IDENT_11 . METHOD_8 ( org . finra . herd . rest . IDENT_2 ) , IDENT_4 . METHOD_3 ( ) . METHOD_9 ( IDENT_5 , IDENT_6 ) ) ; when ( IDENT_12 . METHOD_10 ( IDENT_1 , IDENT_8 ) ) . thenReturn ( IDENT_10 ) ; org . finra . herd . model . api . xml . METHOD_7 IDENT_13 = IDENT_14 . METHOD_10 ( org . finra . herd . rest . IDENT_2 , IDENT_3 . get ( IDENT_5 ) , IDENT_3 . get ( IDENT_6 ) ) ; IDENT_15 . METHOD_11 ( org . finra . herd . rest . IDENT_2 , IDENT_3 . METHOD_9 ( IDENT_5 , IDENT_6 ) , IDENT_13 ) ; verify ( IDENT_12 ) . METHOD_10 ( IDENT_1 , IDENT_8 ) ; METHOD_12 ( IDENT_12 ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( org . finra . herd . model . api . xml . METHOD_1 , org . finra . herd . model . api . xml . METHOD_4 ) { IDENT_16 . METHOD_13 ( IDENT_1 ) ; if ( org . apache . commons . lang3 . StringUtils . METHOD_14 ( IDENT_8 . METHOD_15 ( ) ) ) { IDENT_8 . METHOD_5 ( IDENT_8 . METHOD_15 ( ) . trim ( ) ) ; } if ( org . apache . commons . lang3 . StringUtils . METHOD_14 ( IDENT_8 . METHOD_16 ( ) ) ) { IDENT_8 . METHOD_6 ( IDENT_8 . METHOD_16 ( ) . trim ( ) ) ; } if ( ( org . apache . commons . lang3 . StringUtils . METHOD_17 ( IDENT_8 . METHOD_15 ( ) ) ) && ( org . apache . commons . lang3 . StringUtils . METHOD_17 ( IDENT_8 . METHOD_16 ( ) ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } if ( ( ( org . apache . commons . lang3 . StringUtils . METHOD_14 ( IDENT_8 . METHOD_15 ( ) ) ) && ( org . apache . commons . lang3 . StringUtils . METHOD_14 ( IDENT_8 . METHOD_16 ( ) ) ) ) && ( ( IDENT_8 . METHOD_15 ( ) . compareTo ( IDENT_8 . METHOD_16 ( ) ) ) > 0 ) ) { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_1 , IDENT_8 . METHOD_15 ( ) , IDENT_8 . METHOD_16 ( ) ) ) ; } org . finra . herd . model . jpa . IDENT_17 IDENT_18 = IDENT_19 . METHOD_18 ( IDENT_1 ) ; java . util . Collection < org . finra . herd . model . jpa . IDENT_20 > IDENT_21 = IDENT_22 . METHOD_19 ( IDENT_1 . METHOD_20 ( ) , IDENT_8 ) ; return METHOD_21 ( IDENT_18 , IDENT_21 ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , IDENT_13 )