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_6 = mock ( org . elasticsearch . search . IDENT_0 . IDENT_5 . class ) ; when ( IDENT_6 . get ( org . finra . herd . dao . helper . IDENT_7 ) ) . thenReturn ( IDENT_4 ) ; org . elasticsearch . search . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 IDENT_10 = mock ( org . elasticsearch . search . IDENT_0 . IDENT_1 . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_1 ( ) ) . thenReturn ( IDENT_6 ) ; org . elasticsearch . search . IDENT_0 . IDENT_5 IDENT_11 = mock ( org . elasticsearch . search . IDENT_0 . IDENT_5 . class ) ; when ( IDENT_11 . get ( org . finra . herd . dao . helper . IDENT_12 ) ) . thenReturn ( IDENT_10 ) ; org . elasticsearch . action . search . IDENT_13 IDENT_14 = mock ( org . elasticsearch . action . search . IDENT_13 . class ) ; when ( IDENT_14 . METHOD_1 ( ) ) . thenReturn ( IDENT_11 ) ; org . elasticsearch . search . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 result = IDENT_15 . METHOD_2 ( IDENT_14 , org . finra . herd . dao . helper . IDENT_12 , org . finra . herd . dao . helper . IDENT_7 ) ; METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { METHOD_4 ( IDENT_16 , IDENT_17 , IDENT_18 , IDENT_19 ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , result )