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