@Test
public void propertyValueFilter() {

    Dictionary<String, Object> config = new Hashtable<>();
    config.put(EventFilter.PROPERTY_VALUE_EXCLUDE_CONFIG, "value.*");
    // exclude
    Assert.assertFalse(EventFilter.match(prepareTestEvent(), config));
    // exclude first
    config.put(EventFilter.PROPERTY_VALUE_INCLUDE_CONFIG, "other");
    Assert.assertFalse(EventFilter.match(prepareTestEvent(), config));
    // include
    config.remove(EventFilter.PROPERTY_VALUE_EXCLUDE_CONFIG);
    Assert.assertTrue(EventFilter.match(prepareTestEvent(), config));
}