@Test
public void testCreateDetectorMapping() {

    val mom = ObjectMother.instance();
    val expr = mom.getExpression();
    val consumerDetectorMapping = new ConsumerDetectorMapping("cid", UUID.randomUUID());
    val user = new User("yoda");
    val request = new CreateDetectorMappingRequest(expr, consumerDetectorMapping, user);
    repoUnderTest.createDetectorMapping(request);
}