ForecastingDetector extends AbstractOutlierDetector { @Override public String getName() { return NAME; } ForecastingDetector(
            UUID uuid,
            PointForecaster pointForecaster,
            IntervalForecaster intervalForecaster,
            AnomalyType anomalyType,
            boolean trusted,
            String name); @Override DetectorResult detect(MetricData metricData); @Override String getName();  }
@Test public void testAccessors() { initDependencies(false); assertEquals(detectorUuid, detectorUnderTest.getUuid()); assertEquals(pointForecaster, detectorUnderTest.getPointForecaster()); assertEquals(intervalForecaster, detectorUnderTest.getIntervalForecaster()); assertEquals(anomalyType, detectorUnderTest.getAnomalyType()); assertEquals(trusted, detectorUnderTest.isTrusted()); assertNotNull(detectorUnderTest.getName()); assertEquals("test", detectorUnderTest.getName()); }