@Test
public void testInsideFilteredPeriod() {

    when(mockDetector.detect(METRIC_DATA_INSIDE_NINE_TO_FIVE)).thenReturn(mockDetectorResult);
    DetectorResponse detectorResponse = new DetectorResponse();
    filterUnderTest.doFilter(new DetectorRequest(METRIC_DATA_INSIDE_NINE_TO_FIVE), detectorResponse, chain());
    DetectorResult actualResult = detectorResponse.getDetectorResult();
    assertSame(mockDetectorResult, actualResult);
}