### Question:
TableConfiguration extends AccumuloConfiguration { @Override public void getProperties(Map<String,String> props, Predicate<String> filter) { getPropCacheAccessor().getProperties(props, getPath(), filter, parent, null); } TableConfiguration(ServerContext context, TableId tableId, NamespaceConfiguration parent); @Override boolean isPropertySet(Property prop, boolean cacheAndWatch); @Override String get(Property property); @Override void getProperties(Map<String,String> props, Predicate<String> filter); TableId getTableId(); NamespaceConfiguration getParentConfiguration(); @Override synchronized void invalidateCache(); @Override String toString(); @Override long getUpdateCount(); ParsedIteratorConfig getParsedIteratorConfig(IteratorScope scope); ScanDispatcher getScanDispatcher(); CompactionDispatcher getCompactionDispatcher();  }### Answer:
@Test public void testGetProperties() { Predicate<String> all = x -> true; Map<String,String> props = new java.util.HashMap<>(); parent.getProperties(props, all); replay(parent); List<String> children = new java.util.ArrayList<>(); children.add("foo"); children.add("ding"); expect(zc .getChildren(ZooUtil.getRoot(iid) + Constants.ZTABLES + "/" + TID + Constants.ZTABLE_CONF)) .andReturn(children); expect(zc.get( ZooUtil.getRoot(iid) + Constants.ZTABLES + "/" + TID + Constants.ZTABLE_CONF + "/" + "foo")) .andReturn("bar".getBytes(UTF_8)); expect(zc.get(ZooUtil.getRoot(iid) + Constants.ZTABLES + "/" + TID + Constants.ZTABLE_CONF + "/" + "ding")).andReturn("dong".getBytes(UTF_8)); replay(zc); c.getProperties(props, all); assertEquals(2, props.size()); assertEquals("bar", props.get("foo")); assertEquals("dong", props.get("ding")); }