@Test(expected = IllegalArgumentException.class)
public void testCreateDetector_uuidAlreadySet() {

    val document = new DetectorDocument();
    document.setUuid(UUID.randomUUID());
    repoUnderTest.createDetector(document);
}