@Test(expected = RuntimeException.class)
public void testInitializeDetector_illegal_point_forecaster() {

    val intervalParams = new MultiplicativeIntervalForecasterParams().setStrongMultiplier(3.0).setWeakMultiplier(1.0);
    val pointParams = new PewmaPointForecasterParams().setAlpha(1.0).setBeta(2.0);
    val pointForecaster = new PewmaPointForecaster(pointParams);
    val intervalForecaster = new MultiplicativeIntervalForecaster(intervalParams);
    val detector = new ForecastingDetector(randomUUID(), pointForecaster, intervalForecaster, TWO_TAILED, true, "seasonalnaive");
    initializerUnderTest.initializeDetector(mappedMetricData, detector, detectorMapping);
}