use of org.hamcrest.text.IsEmptyString in project acceptance-test-harness by jenkinsci.
the class PmdPluginTest method validatePattern.
private void validatePattern(final FreeStyleJob job, final String pattern) {
editJob(PLUGIN_ROOT, false, job, PmdFreestyleSettings.class, settings -> {
String validationMessage = settings.validatePattern(pattern);
assertThat(validationMessage, isEmptyString());
});
}
Aggregations