Commit 4a9fa49a authored by Komal Makkar's avatar Komal Makkar
Browse files

minor changes

parent a31ea2b4
......@@ -23,9 +23,6 @@ public class HandshakeFilterTest {
@Mock
private IPubsubRequestBodyExtractor requestBodyExtractor;
@Mock
private IPubsubHandshakeHandler handshakeHandler;
@Mock
private HttpServletRequest httpServletRequest;
......@@ -42,6 +39,7 @@ public class HandshakeFilterTest {
public void should_CallFiltersIfNotHandshake() throws IOException, ServletException {
doReturn("records-changed").when(httpServletRequest).getServletPath();
doReturn(false).when(this.requestBodyExtractor).isHandshakeRequest();
this.sut.doFilter(this.httpServletRequest, this.servletResponse, this.filterChain);
verify(this.filterChain, times(1)).doFilter(httpServletRequest, servletResponse);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment