@Test(expected = DetectorException.class)
public void testUpdateDetector_nullValues() {

    val document = new DetectorDocument();
    document.setCreatedBy("user");
    repoUnderTest.updateDetector("", document);
}