use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class AuthenticationConfigurationValidatorTest method verifyValidLdapConfiguration.
@Test
public void verifyValidLdapConfiguration() {
GlobalConfigurationValidatorAsserter validatorAsserter = createValidatorAsserter(createValidLdapValues());
validatorAsserter.assertValid();
}
use of com.synopsys.integration.alert.test.common.channel.GlobalConfigurationValidatorAsserter in project hub-alert by blackducksoftware.
the class SchedulingConfigurationValidatorTest method invalidOption.
@Test
public void invalidOption() {
GlobalConfigurationValidatorAsserter validatorAsserter = createValidatorAsserter();
validatorAsserter.assertInvalidValue(SchedulingDescriptor.KEY_PURGE_DATA_FREQUENCY_DAYS, "potato");
}
Aggregations