METHOD_0 ( ) { METHOD_1 ( STRING_0 ) ; java . util . Set < io . IDENT_0 . elasticsearch . plugin . model . IDENT_1 > IDENT_2 = utils . METHOD_2 ( IDENT_3 . IDENT_4 ) ; java . util . Set < io . IDENT_0 . elasticsearch . plugin . model . IDENT_1 > exp = new java . util . HashSet ( ) ; exp . add ( new io . IDENT_0 . elasticsearch . plugin . model . METHOD_3 ( STRING_0 , null ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( io . IDENT_0 . elasticsearch . plugin . IDENT_5 . IDENT_3 ) { java . util . Set < io . IDENT_0 . elasticsearch . plugin . model . METHOD_3 > IDENT_6 = new java . util . HashSet ( ) ; org . elasticsearch . action . search . IDENT_7 response = IDENT_8 . search ( context . METHOD_4 ( ) , io . IDENT_0 . elasticsearch . plugin . IDENT_9 . IDENT_10 . IDENT_11 ) ; if ( ( ( response . METHOD_5 ( ) ) != null ) && ( ( response . METHOD_5 ( ) . METHOD_6 ( ) ) > 0 ) ) { for ( org . elasticsearch . search . IDENT_12 IDENT_13 : response . METHOD_5 ( ) . METHOD_5 ( ) ) { java . lang . String id = IDENT_13 . getId ( ) ; io . IDENT_0 . elasticsearch . plugin . model . METHOD_3 project = METHOD_7 ( id ) ; if ( ( ! ( project . getName ( ) . equals ( id ) ) ) || ( project . equals ( io . IDENT_0 . elasticsearch . plugin . IDENT_9 . IDENT_10 . IDENT_14 ) ) ) { IDENT_6 . add ( project ) ; } } } else { io . IDENT_0 . elasticsearch . plugin . IDENT_9 . IDENT_10 . LOGGER . debug ( STRING_1 , context . METHOD_4 ( ) ) ; } return IDENT_6 ; }
org . junit . Assert . assertEquals ( exp , IDENT_2 )