YAMLFilterConfigurationData extends WSOkapiFilterConfigurationData<Parameters> { public void setExcludedKeys(Set<String> excludedKeys) { if (excludedKeys != null) { this.excludedKeys = excludedKeys; } }  Set<String> getExcludedKeys(); void setExcludedKeys(Set<String> excludedKeys);  }
@Test public void testToXML() throws Exception { YAMLFilterConfigurationData data = new YAMLFilterConfigurationData(); data.setApplySegmentation(true); data.setExcludedKeys(Collections.singleton("hello")); assertEquals(CONFIG_XML, ConfigTestUtils.toXML(data)); }