assertThat(defaultExcludeRuleContainer.getRules(), not(sameInstance(sourceExcludeRules)));
}
@Test
public void testAdd() {
DefaultExcludeRuleContainer excludeRuleContainer = new DefaultExcludeRuleContainer();
Map excludeRuleArgs1 = WrapUtil.toMap("key1", "value1");
Map excludeRuleArgs2 = WrapUtil.toMap("key2", "value2");
excludeRuleContainer.add(excludeRuleArgs1);
excludeRuleContainer.add(excludeRuleArgs2);
assertThat(excludeRuleContainer.getRules().size(), equalTo(2));
assertExcludeRuleContainerHasCorrectExcludeRules(excludeRuleContainer.getRules(), excludeRuleArgs1, excludeRuleArgs2);
}