public final void testFilterExcluded() {
String filterName = "filter2";
String validationError = "MessageFilter.excluded() method failed";
System.setProperty(filterName, "property1=value1,value2 | property2=value3,value4");
MessageFilter messageFilter = new MessageFilter(filterName);
Assert.assertFalse(validationError, messageFilter.excluded("property1", "value1"));
Assert.assertFalse(validationError, messageFilter.excluded("property1", "value2"));
Assert.assertFalse(validationError, messageFilter.excluded("property2", "value3"));
Assert.assertFalse(validationError, messageFilter.excluded("property2", "value4"));
System.setProperty(filterName, "");
}