METHOD_0 ( ) { org . elasticsearch . search . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . elasticsearch . search . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; org . elasticsearch . search . IDENT_0 . IDENT_5 IDENT_0 = mock ( org . elasticsearch . search . IDENT_0 . IDENT_5 . class ) ; when ( IDENT_0 . get ( org . finra . herd . dao . helper . IDENT_6 ) ) . thenReturn ( IDENT_4 ) ; org . elasticsearch . action . search . IDENT_7 IDENT_8 = mock ( org . elasticsearch . action . search . IDENT_7 . class ) ; when ( IDENT_8 . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; org . elasticsearch . search . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 result = IDENT_9 . METHOD_2 ( IDENT_8 , org . finra . herd . dao . helper . IDENT_6 ) ; METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { METHOD_4 ( IDENT_10 , IDENT_11 , IDENT_12 , IDENT_13 ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , result )