METHOD_0 ( ) { org . elasticsearch . action . get . IDENT_0 IDENT_1 = mock ( org . elasticsearch . action . get . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; org . elasticsearch . action . get . IDENT_0 actual = IDENT_3 . METHOD_0 ( org . IDENT_4 . IDENT_5 . plugin . elasticsearch . model . entity . IDENT_6 . class , 1 , 2 ) ; org . elasticsearch . action . get . IDENT_7 . IDENT_8 IDENT_9 = new org . elasticsearch . action . get . IDENT_7 . METHOD_2 ( org . IDENT_4 . IDENT_5 . plugin . elasticsearch . dao . IDENT_10 . IDENT_11 , IDENT_12 . IDENT_13 . METHOD_3 ( ) , "1" ) ; org . elasticsearch . action . get . IDENT_7 . METHOD_2 IDENT_14 = new org . elasticsearch . action . get . IDENT_7 . METHOD_2 ( org . IDENT_4 . IDENT_5 . plugin . elasticsearch . dao . IDENT_10 . IDENT_11 , IDENT_12 . IDENT_13 . METHOD_3 ( ) , "2" ) ; verify ( IDENT_1 ) . add ( METHOD_4 ( new org . IDENT_4 . IDENT_5 . plugin . elasticsearch . dao . IDENT_10 . METHOD_5 ( IDENT_9 ) ) ) ; verify ( IDENT_1 ) . add ( METHOD_4 ( new org . IDENT_4 . IDENT_5 . plugin . elasticsearch . dao . IDENT_10 . METHOD_5 ( IDENT_14 ) ) ) ; "<AssertPlaceHolder>" ; } add ( org . IDENT_4 . IDENT_5 . core . domain . IDENT_15 . Entity ) { buffer . add ( entity ) ; if ( ( buffer . size ( ) ) == ( size ) ) { METHOD_6 ( ) ; return true ; } else return false ; }
org . junit . Assert . assertSame ( IDENT_1 , actual )