Map<String, String> excludeArgs1 = toMap("org", "value");
Map<String, String> excludeArgs2 = toMap("org2", "value2");
assertThat(configuration.exclude(excludeArgs1), sameInstance(configuration));
configuration.exclude(excludeArgs2);
assertThat(configuration.getExcludeRules(), equalTo(WrapUtil.<ExcludeRule>toSet(
new DefaultExcludeRule(excludeArgs1), new DefaultExcludeRule(excludeArgs2))));
}