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_8 . METHOD_6 ( null , java . util . Arrays . asList ( IDENT_3 , IDENT_7 ) ) ; org . IDENT_0 . IDENT_1 . api . services . IDENT_9 criteria = new org . IDENT_0 . IDENT_1 . api . services . METHOD_7 ( ) ; criteria . METHOD_2 ( org . IDENT_0 . IDENT_1 . server . elasticsearch . IDENT_4 . IDENT_5 ) . METHOD_8 ( 1 ) . METHOD_9 ( 0 ) ; org . IDENT_0 . IDENT_1 . tests . common . IDENT_10 . METHOD_10 ( ( ) -> ( IDENT_8 . METHOD_11 ( null , criteria ) ) == 1 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( java . lang . String , org . IDENT_0 . IDENT_1 . api . services . METHOD_7 ) { if ( org . IDENT_0 . IDENT_1 . IDENT_8 . service . rest . client . IDENT_11 . log . METHOD_12 ( IDENT_12 . IDENT_13 ) ) { org . IDENT_0 . IDENT_1 . IDENT_8 . service . rest . client . IDENT_11 . log . METHOD_13 ( ( ( ( STRING_1 + IDENT_14 ) + STRING_2 ) + criteria ) ) ; } java . lang . String path = STRING_3 ; return METHOD_14 ( IDENT_14 , org . IDENT_0 . IDENT_1 . IDENT_8 . service . rest . client . IDENT_11 . IDENT_15 , path , criteria ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_8 . METHOD_11 ( null , criteria ) )