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

    val requestUnderTest = new CreateDetectorMappingRequest(expression, null, user);
    requestUnderTest.validate();
}