@Test(expectedExceptions = InvalidPropertyException.class) public void testValidatePropertiesWhenInvalidPropertyShouldThrowException() { String validationExpression = "#this >1"; String propertyValue = "0"; properties.put("proxy.port", validationExpression); propertyHolder.addProperty("proxy.port", propertyValue); underTest.validateProperties(); }
public void validateProperties() { validate(); safeguardLimitValidator.validate(); }
PropertyValidator { public void validateProperties() { validate(); safeguardLimitValidator.validate(); } }
PropertyValidator { public void validateProperties() { validate(); safeguardLimitValidator.validate(); }  }
PropertyValidator { public void validateProperties() { validate(); safeguardLimitValidator.validate(); }  void validateProperties(); void setProperties(final Properties properties); }
PropertyValidator { public void validateProperties() { validate(); safeguardLimitValidator.validate(); }  void validateProperties(); void setProperties(final Properties properties);  }