示例#1
0
 @Test
 public void testToString2() {
   FilterSet filterSet = new FilterSet();
   filterSet.addFilter(new SeverityMatchFilter());
   assertNotNull("size is the same", filterSet.toString());
 }
示例#2
0
 @Test
 public void testGetFilters2() {
   FilterSet filterSet = new FilterSet();
   filterSet.addFilter(new SeverityMatchFilter());
   assertEquals("size is the same", 1, filterSet.getFilters().size());
 }