@Test
public void testFilteredWithChain() {

    doNothing().when(mockChain).doFilter(detectorRequest, detectorResponse);
    filterUnderTest.doFilter(detectorRequest, detectorResponse, mockChain);
    verify(mockChain, times(1)).doFilter(detectorRequest, detectorResponse);
}