expect(zc.getChildren(PATH)).andReturn(children);
expect(zc.get(PATH + "/" + child1)).andReturn(VALUE_BYTES);
expect(zc.get(PATH + "/" + child2)).andReturn(null);
replay(zc);
expect(filter.accept(child1)).andReturn(true);
expect(filter.accept(child2)).andReturn(true);
replay(filter);
a.getProperties(props, PATH, filter, parent, null);
assertEquals(1, props.size());
assertEquals(VALUE, props.get(child1));