@Test
public void testName() {

    val detector = detector(detectorUuid, thresholds, AnomalyType.LEFT_TAILED, trusted);
    assertNotNull(detector.getName());
    assertEquals("constant-threshold", detector.getName());
}