@Test(expected = IllegalArgumentException.class) public void testValidate_nullDetector() { val requestUnderTest = new CreateDetectorMappingRequest(expression, null, user); requestUnderTest.validate(); }
public void validate() { RequestValidator.validateExpression(this.getExpression()); RequestValidator.validateUser(this.getUser()); RequestValidator.validateMappingDetector(this.getConsumerDetectorMapping()); }
CreateDetectorMappingRequest { public void validate() { RequestValidator.validateExpression(this.getExpression()); RequestValidator.validateUser(this.getUser()); RequestValidator.validateMappingDetector(this.getConsumerDetectorMapping()); } }
CreateDetectorMappingRequest { public void validate() { RequestValidator.validateExpression(this.getExpression()); RequestValidator.validateUser(this.getUser()); RequestValidator.validateMappingDetector(this.getConsumerDetectorMapping()); }  }
CreateDetectorMappingRequest { public void validate() { RequestValidator.validateExpression(this.getExpression()); RequestValidator.validateUser(this.getUser()); RequestValidator.validateMappingDetector(this.getConsumerDetectorMapping()); }  void validate(); Set<String> getFields(); }
CreateDetectorMappingRequest { public void validate() { RequestValidator.validateExpression(this.getExpression()); RequestValidator.validateUser(this.getUser()); RequestValidator.validateMappingDetector(this.getConsumerDetectorMapping()); }  void validate(); Set<String> getFields();  }