@Test
public void testInitializeDetectorWithTimeException() {

    initThrottleGate(true);
    doThrow(new MetricDeliveryTimeException("Metric with dodgy timestamp")).when(seasonalPointForecaster).forecast(any(MetricData.class));
    initializerUnderTest.initializeDetector(mappedMetricData, seasonalNaiveDetector, detectorMapping);
    // Assertion here is that exception is swallowed
}