source: class EventFilterTest {
  
      @Test
      public void propertyNameFilter() {
  
target:         Dictionary<String, Object> config = new Hashtable<>();
          config.put(EventFilter.PROPERTY_NAME_EXCLUDE_CONFIG, "key.*");
          // exclude
          Assert.assertFalse(EventFilter.match(prepareTestEvent(), config));
          // exclude first
          config.put(EventFilter.PROPERTY_NAME_INCLUDE_CONFIG, "other");
          Assert.assertFalse(EventFilter.match(prepareTestEvent(), config));
          // include
          config.remove(EventFilter.PROPERTY_NAME_EXCLUDE_CONFIG);
          Assert.assertTrue(EventFilter.match(prepareTestEvent(), config));
      }
  
  }