@Test
public void testMaskFilter() {
final Router r1 = createRouterMockWithAddress("1.2.3.4");
final Router r2 = createRouterMockWithAddress("1.7.3.4");
final RouterFilter f = ConfigNodeFilter.createFilterFor("1.2.3.0/16");
assertTrue(f.filter(r1));
assertFalse(f.filter(r2));
verify(r1, r2);
}