METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . IDENT_3 parent = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( ) ; parent . setId ( STRING_0 ) ; METHOD_2 ( IDENT_4 , parent ) ; org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 IDENT_5 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( null , METHOD_3 ( ) ) ; IDENT_5 . setId ( STRING_1 ) ; IDENT_5 . METHOD_4 ( STRING_0 ) ; METHOD_2 ( IDENT_4 , IDENT_5 ) ; org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 IDENT_6 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( null , METHOD_5 ( ) ) ; IDENT_6 . setId ( STRING_2 ) ; IDENT_6 . METHOD_4 ( STRING_0 ) ; METHOD_2 ( IDENT_4 , IDENT_6 ) ; org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 IDENT_7 = new org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 ( ) ; IDENT_7 . setId ( STRING_3 ) ; IDENT_7 . METHOD_4 ( STRING_0 ) ; METHOD_2 ( IDENT_4 , IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . String , java . lang . String ) { java . util . List < org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 > IDENT_8 = new java . util . ArrayList ( ) ; final java . lang . String index = client . METHOD_7 ( IDENT_9 ) ; try { org . elasticsearch . action . admin . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = client . METHOD_8 ( ) . admin ( ) . METHOD_9 ( ) . METHOD_10 ( index ) ; client . METHOD_8 ( ) . admin ( ) . METHOD_9 ( ) . METHOD_11 ( IDENT_13 . request ( ) ) . METHOD_12 ( ) ; org . elasticsearch . index . query . IDENT_14 query = org . elasticsearch . index . query . IDENT_15 . METHOD_13 ( STRING_4 , id ) ; org . elasticsearch . action . search . IDENT_16 request = client . METHOD_8 ( ) . METHOD_14 ( index ) . METHOD_15 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_17 . IDENT_18 ) . METHOD_16 ( IDENT_19 . IDENT_20 ) . METHOD_17 ( query ) ; org . elasticsearch . action . search . IDENT_21 response = request . execute ( ) . METHOD_12 ( ) ; for ( org . elasticsearch . search . IDENT_22 IDENT_23 : response . METHOD_18 ( ) ) { try { org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 IDENT_24 = METHOD_19 ( IDENT_23 . METHOD_20 ( ) , org . IDENT_0 . IDENT_1 . server . api . model . IDENT_2 . METHOD_1 . class ) ; if ( ! ( IDENT_24 . METHOD_21 ( ) ) ) { IDENT_8 . add ( IDENT_24 ) ; } } catch ( java . io . IOException ex ) { org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_17 . log . METHOD_22 ( ex ) ; } } } catch ( org . elasticsearch . METHOD_9 . IDENT_25 ex ) { org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_17 . log . METHOD_23 ( STRING_5 , index ) ; } org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_17 . log . METHOD_24 ( STRING_6 , id , IDENT_8 ) ; return IDENT_8 ; }
org . junit . Assert . assertEquals ( new java . util . HashSet ( java . util . Arrays . asList ( IDENT_6 , IDENT_7 ) ) , new java . util . HashSet ( IDENT_4 . METHOD_6 ( null , parent . getId ( ) ) ) )