METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . api . model . events . IDENT_2 IDENT_3 = new org . IDENT_0 . IDENT_1 . api . model . events . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_4 . IDENT_5 ) ; IDENT_3 . METHOD_3 ( 1000 ) ; IDENT_3 . METHOD_4 ( ) . add ( new org . IDENT_0 . IDENT_1 . api . model . METHOD_5 ( org . IDENT_0 . IDENT_1 . api . model . Constants . IDENT_6 , STRING_0 ) ) ; org . IDENT_0 . IDENT_1 . api . model . events . METHOD_1 IDENT_7 = new org . IDENT_0 . IDENT_1 . api . model . events . METHOD_1 ( ) ; IDENT_7 . METHOD_2 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_4 . IDENT_5 ) ; IDENT_7 . METHOD_3 ( INT_0 ) ; IDENT_7 . METHOD_4 ( ) . add ( new org . IDENT_0 . IDENT_1 . api . model . METHOD_5 ( org . IDENT_0 . IDENT_1 . api . model . Constants . IDENT_6 , STRING_1 ) ) ; IDENT_7 . METHOD_4 ( ) . add ( new org . IDENT_0 . IDENT_1 . api . model . METHOD_5 ( org . IDENT_0 . IDENT_1 . api . model . Constants . IDENT_8 , STRING_2 ) ) ; org . IDENT_0 . IDENT_1 . api . model . events . METHOD_1 IDENT_9 = new org . IDENT_0 . IDENT_1 . api . model . events . METHOD_1 ( ) ; IDENT_9 . METHOD_2 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_4 . IDENT_5 ) ; IDENT_9 . METHOD_3 ( INT_0 ) ; IDENT_9 . METHOD_4 ( ) . add ( new org . IDENT_0 . IDENT_1 . api . model . METHOD_5 ( org . IDENT_0 . IDENT_1 . api . model . Constants . IDENT_6 , STRING_0 ) ) ; IDENT_9 . METHOD_4 ( ) . add ( new org . IDENT_0 . IDENT_1 . api . model . METHOD_5 ( org . IDENT_0 . IDENT_1 . api . model . Constants . IDENT_8 , STRING_3 ) ) ; IDENT_10 . METHOD_6 ( null , java . util . Arrays . asList ( IDENT_3 , IDENT_7 , IDENT_9 ) ) ; org . IDENT_0 . IDENT_1 . api . services . IDENT_11 criteria = new org . IDENT_0 . IDENT_1 . api . services . METHOD_7 ( ) ; criteria . METHOD_8 ( Constants . IDENT_6 , STRING_0 , IDENT_12 . IDENT_13 ) ; criteria . METHOD_2 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_4 . IDENT_5 ) . METHOD_9 ( 1 ) . METHOD_10 ( 0 ) ; org . IDENT_0 . IDENT_1 . tests . common . IDENT_14 . METHOD_11 ( ( ) -> ( IDENT_10 . METHOD_12 ( null , criteria ) ) == 2 ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( java . lang . String , org . IDENT_0 . IDENT_1 . api . services . METHOD_7 ) { if ( org . IDENT_0 . IDENT_1 . IDENT_10 . service . rest . client . IDENT_15 . log . METHOD_13 ( IDENT_16 . IDENT_17 ) ) { org . IDENT_0 . IDENT_1 . IDENT_10 . service . rest . client . IDENT_15 . log . METHOD_14 ( ( ( ( STRING_4 + IDENT_18 ) + STRING_5 ) + criteria ) ) ; } java . lang . String path = STRING_6 ; return METHOD_15 ( IDENT_18 , org . IDENT_0 . IDENT_1 . IDENT_10 . service . rest . client . IDENT_15 . IDENT_19 , path , criteria ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_10 . METHOD_12 ( null , criteria ) )