METHOD_0 ( ) { final java . lang . String type = java . util . UUID . METHOD_1 ( ) . toString ( ) ; org . apache . IDENT_0 . persistence . model . entity . IDENT_1 IDENT_2 = new org . apache . IDENT_0 . persistence . model . entity . METHOD_2 ( STRING_0 ) ; final org . apache . IDENT_0 . persistence . model . entity . Entity first = new org . apache . IDENT_0 . persistence . model . entity . Entity ( type ) ; first . METHOD_3 ( new org . apache . IDENT_0 . persistence . index . impl . METHOD_4 ( STRING_1 , STRING_2 ) ) ; first . METHOD_5 ( 100 ) ; org . apache . IDENT_0 . persistence . model . util . IDENT_3 . METHOD_6 ( first , org . apache . IDENT_0 . persistence . model . util . IDENT_4 . METHOD_7 ( ) ) ; final org . apache . IDENT_0 . persistence . model . entity . Entity IDENT_5 = new org . apache . IDENT_0 . persistence . model . entity . Entity ( type ) ; IDENT_5 . METHOD_5 ( 100 ) ; IDENT_5 . METHOD_3 ( new org . apache . IDENT_0 . persistence . index . impl . METHOD_4 ( STRING_1 , STRING_3 ) ) ; org . apache . IDENT_0 . persistence . model . util . IDENT_3 . METHOD_6 ( IDENT_5 , org . apache . IDENT_0 . persistence . model . util . IDENT_4 . METHOD_7 ( ) ) ; org . apache . IDENT_0 . persistence . index . impl . IDENT_6 batch = IDENT_7 . METHOD_8 ( ) ; org . apache . IDENT_0 . persistence . index . impl . IDENT_8 IDENT_9 = new org . apache . IDENT_0 . persistence . index . impl . METHOD_9 ( IDENT_2 , type , IDENT_10 . IDENT_11 . IDENT_12 , 10 ) ; batch . index ( IDENT_9 , first ) ; org . apache . IDENT_0 . persistence . index . impl . IDENT_8 IDENT_13 = new org . apache . IDENT_0 . persistence . index . impl . METHOD_9 ( IDENT_2 , ( type + STRING_4 ) , IDENT_10 . IDENT_11 . IDENT_12 , INT_0 ) ; batch . index ( IDENT_13 , IDENT_5 ) ; IDENT_14 . put ( batch . build ( ) ) . METHOD_10 ( ) ; IDENT_7 . METHOD_11 ( ) . METHOD_12 ( ) . first ( ) ; long size = IDENT_7 . METHOD_13 ( new org . apache . IDENT_0 . persistence . index . impl . METHOD_14 ( IDENT_2 , type , IDENT_10 . IDENT_11 . IDENT_12 ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { IDENT_15 . METHOD_15 ( ) ; final long start = java . lang . System . currentTimeMillis ( ) ; java . lang . String [ ] IDENT_16 = METHOD_16 ( ) ; if ( ( IDENT_16 . length ) == 0 ) { if ( org . apache . IDENT_0 . persistence . index . impl . IDENT_17 . logger . METHOD_17 ( ) ) { org . apache . IDENT_0 . persistence . index . impl . IDENT_17 . logger . trace ( STRING_5 ) ; } } org . elasticsearch . action . admin . IDENT_18 . IDENT_19 . IDENT_20 response = IDENT_21 . METHOD_18 ( ) . admin ( ) . METHOD_19 ( ) . METHOD_20 ( IDENT_16 ) . execute ( ) . METHOD_21 ( ) ; int IDENT_22 = response . METHOD_22 ( ) ; int IDENT_23 = response . METHOD_23 ( ) ; org . elasticsearch . action . IDENT_24 [ ] IDENT_25 = response . METHOD_24 ( ) ; if ( IDENT_25 != null ) { for ( org . elasticsearch . action . IDENT_24 IDENT_26 : IDENT_25 ) { org . apache . IDENT_0 . persistence . index . impl . IDENT_17 . logger . error ( STRING_6 , IDENT_26 . index ( ) , IDENT_26 . METHOD_25 ( ) ) ; } } if ( org . apache . IDENT_0 . persistence . index . impl . IDENT_17 . logger . METHOD_17 ( ) ) { org . apache . IDENT_0 . persistence . index . impl . IDENT_17 . logger . trace ( STRING_7 , org . apache . IDENT_0 . persistence . core . util . StringUtils . join ( IDENT_16 , STRING_8 ) , IDENT_23 , IDENT_22 ) ; } org . apache . IDENT_0 . persistence . index . impl . IDENT_27 IDENT_28 = new org . apache . IDENT_0 . persistence . index . impl . METHOD_26 ( ( IDENT_22 == 0 ) , ( ( java . lang . System . currentTimeMillis ( ) ) - start ) ) ; return org . apache . IDENT_0 . persistence . core . metrics . IDENT_29 . time ( IDENT_30 . IDENT_31 . METHOD_27 ( IDENT_28 ) , IDENT_32 ) ; }
org . junit . Assert . assertTrue ( ( size == 100 ) )