METHOD_0 ( ) { int IDENT_0 = 100 ; java . util . function . IDENT_1 listener = METHOD_1 ( new java . util . function . IDENT_1 < java . util . Collection , java . lang . Boolean > ( ) { @ org . IDENT_2 . IDENT_3 . elasticsearch . Override public org . IDENT_2 . IDENT_3 . elasticsearch . Boolean apply ( java . util . Collection collection ) { try { java . lang . Thread . METHOD_2 ( ) . sleep ( IDENT_0 ) ; } catch ( java . lang . IDENT_4 e ) { org . junit . Assert . fail ( ) ; } return true ; } } ) ; org . IDENT_2 . IDENT_3 . elasticsearch . IDENT_5 < java . util . Collection > IDENT_6 = new org . IDENT_2 . IDENT_3 . elasticsearch . METHOD_3 ( 1 , INT_0 , new org . IDENT_2 . IDENT_3 . elasticsearch . IDENT_7 < java . util . Collection > ( ) { @ org . IDENT_2 . IDENT_3 . elasticsearch . Override public java . lang . Object METHOD_4 ( java . lang . String IDENT_8 , java . lang . Object source ) { return source ; } @ org . IDENT_2 . IDENT_3 . elasticsearch . Override public java . lang . Object METHOD_4 ( java . lang . String IDENT_8 , org . IDENT_2 . IDENT_3 . elasticsearch . IDENT_9 source ) { return source ; } @ org . IDENT_2 . IDENT_3 . elasticsearch . Override public org . IDENT_2 . IDENT_3 . elasticsearch . IDENT_10 < java . util . Collection > METHOD_5 ( ) { return METHOD_6 ( ) ; } } ) ; IDENT_6 . METHOD_7 ( listener ) ; java . lang . Thread IDENT_11 = new java . lang . Thread ( ( ) -> IDENT_6 . add ( 0 ) ) ; java . lang . Thread IDENT_12 = new java . lang . Thread ( ( ) -> IDENT_6 . add ( 1 ) ) ; IDENT_11 . start ( ) ; long start = java . lang . System . currentTimeMillis ( ) ; IDENT_12 . run ( ) ; long end = java . lang . System . currentTimeMillis ( ) ; verify ( listener , times ( 1 ) ) . apply ( any ( ) ) ; System . out . println ( ( end - start ) ) ; "<AssertPlaceHolder>" ; } apply ( org . IDENT_2 . IDENT_3 . elasticsearch . IDENT_13 ) { org . IDENT_2 . IDENT_3 . elasticsearch . IDENT_14 < java . lang . Object > IDENT_15 = METHOD_8 ( IDENT_16 , IDENT_17 ) ; client . METHOD_9 ( IDENT_16 , IDENT_15 ) ; return true ; }
org . junit . Assert . assertTrue ( ( ( end - start ) >= IDENT_0 ) )