METHOD_0 ( ) { org . finra . herd . model . api . xml . IDENT_0 IDENT_1 = new org . finra . herd . model . api . xml . METHOD_1 ( IDENT_2 ) ; org . finra . herd . model . api . xml . IDENT_3 IDENT_4 = new org . finra . herd . model . api . xml . METHOD_2 ( IDENT_1 , IDENT_5 , IDENT_6 , IDENT_7 , IDENT_8 , IDENT_9 , IDENT_10 , IDENT_11 ) ; when ( IDENT_12 . METHOD_3 ( IDENT_1 ) ) . thenReturn ( IDENT_4 ) ; org . finra . herd . model . api . xml . METHOD_2 response = IDENT_13 . METHOD_3 ( org . finra . herd . rest . IDENT_2 ) ; verify ( IDENT_12 , times ( 1 ) ) . METHOD_3 ( new org . finra . herd . model . api . xml . METHOD_1 ( IDENT_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . finra . herd . model . api . xml . METHOD_1 ) { METHOD_4 ( IDENT_1 ) ; org . finra . herd . model . jpa . IDENT_14 IDENT_15 = IDENT_16 . METHOD_5 ( IDENT_1 ) ; org . finra . herd . model . api . xml . METHOD_2 IDENT_4 = METHOD_6 ( IDENT_15 ) ; org . elasticsearch . index . IDENT_17 . IDENT_18 IDENT_19 = IDENT_20 . METHOD_7 ( IDENT_1 . METHOD_8 ( ) ) ; org . elasticsearch . common . IDENT_21 . IDENT_22 IDENT_21 = IDENT_20 . METHOD_9 ( IDENT_1 . METHOD_8 ( ) ) ; java . lang . String IDENT_23 = IDENT_15 . getType ( ) . getCode ( ) ; java . lang . String IDENT_24 = null ; if ( IDENT_25 . IDENT_26 . IDENT_27 . name ( ) . equalsIgnoreCase ( IDENT_23 ) ) { IDENT_24 = IDENT_28 . getProperty ( IDENT_29 . IDENT_30 , org . finra . herd . service . impl . String . class ) ; } else if ( IDENT_25 . IDENT_26 . IDENT_31 . name ( ) . equalsIgnoreCase ( IDENT_23 ) ) { IDENT_24 = IDENT_28 . getProperty ( IDENT_29 . IDENT_32 , org . finra . herd . service . impl . String . class ) ; } else { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_0 , IDENT_23 ) ) ; } long IDENT_33 = IDENT_20 . METHOD_10 ( IDENT_1 . METHOD_8 ( ) , IDENT_24 ) ; IDENT_4 . METHOD_11 ( METHOD_12 ( IDENT_21 , IDENT_19 , IDENT_33 ) ) ; return IDENT_4 ; }
org . junit . Assert . assertEquals ( IDENT_4 , response )