METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( ) ; IDENT_4 . setId ( STRING_0 ) ; IDENT_4 . setName ( STRING_1 ) ; METHOD_2 ( null , java . util . Collections . singletonList ( IDENT_4 ) ) ; org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . IDENT_5 annotation = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_3 ( ) ; annotation . setValue ( STRING_2 ) ; annotation . METHOD_4 ( INT_0 ) ; annotation . METHOD_5 ( METHOD_6 ( STRING_3 , ( ( short ) ( INT_1 ) ) , STRING_4 ) ) ; org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . IDENT_6 IDENT_7 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_7 ( ) ; IDENT_7 . METHOD_5 ( METHOD_6 ( STRING_3 , ( ( short ) ( INT_1 ) ) , STRING_4 ) ) ; IDENT_7 . setValue ( "foo" ) ; IDENT_7 . METHOD_8 ( STRING_5 ) ; IDENT_7 . METHOD_9 ( IDENT_8 . IDENT_9 ) ; org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 IDENT_10 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( java . util . Arrays . asList ( IDENT_7 ) , java . util . Arrays . asList ( annotation ) ) ; IDENT_10 . setId ( STRING_6 ) ; IDENT_10 . METHOD_10 ( STRING_7 ) ; IDENT_10 . METHOD_11 ( STRING_0 ) ; IDENT_10 . setName ( "foo" ) ; IDENT_10 . METHOD_12 ( true ) ; IDENT_10 . METHOD_4 ( INT_2 ) ; IDENT_10 . METHOD_13 ( INT_3 ) ; METHOD_2 ( null , java . util . Collections . singletonList ( IDENT_10 ) ) ; IDENT_10 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( ) ; IDENT_10 . setId ( STRING_8 ) ; IDENT_10 . METHOD_11 ( STRING_0 ) ; METHOD_2 ( null , java . util . Collections . singletonList ( IDENT_10 ) ) ; java . util . List < org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 > IDENT_11 = IDENT_12 . METHOD_14 ( null , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_14 ( java . lang . String , java . lang . String ) { java . util . List < org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 > IDENT_13 = new java . util . ArrayList ( ) ; final java . lang . String index = client . METHOD_15 ( IDENT_14 ) ; try { org . elasticsearch . action . admin . IDENT_15 . IDENT_16 . IDENT_17 IDENT_18 = client . METHOD_16 ( ) . admin ( ) . METHOD_17 ( ) . METHOD_18 ( index ) ; client . METHOD_16 ( ) . admin ( ) . METHOD_17 ( ) . METHOD_19 ( IDENT_18 . request ( ) ) . METHOD_20 ( ) ; org . elasticsearch . index . query . IDENT_19 query = org . elasticsearch . index . query . IDENT_20 . METHOD_21 ( STRING_9 , id ) ; org . elasticsearch . action . search . IDENT_21 request = client . METHOD_16 ( ) . METHOD_22 ( index ) . METHOD_23 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_22 . IDENT_23 ) . METHOD_24 ( IDENT_24 . IDENT_25 ) . METHOD_25 ( query ) ; org . elasticsearch . action . search . IDENT_26 response = request . execute ( ) . METHOD_20 ( ) ; for ( org . elasticsearch . search . IDENT_27 IDENT_28 : response . METHOD_26 ( ) ) { try { org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 IDENT_10 = METHOD_27 ( IDENT_28 . METHOD_28 ( ) , org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 . class ) ; if ( ! ( IDENT_10 . METHOD_29 ( ) ) ) { IDENT_13 . add ( IDENT_10 ) ; } } catch ( java . io . IOException ex ) { org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_22 . log . METHOD_30 ( ex ) ; } } } catch ( org . elasticsearch . METHOD_17 . IDENT_29 ex ) { org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_22 . log . METHOD_31 ( STRING_10 , index ) ; } org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_22 . log . METHOD_32 ( STRING_11 , id , IDENT_13 ) ; return IDENT_13 ; }
org . junit . Assert . assertEquals ( 2 , IDENT_11 . size ( ) )