ProjectedJsonObject extends JsonObject { @Override JsonValue childFor(String key) { return original.childFor(key); } ProjectedJsonObject(JsonObject original, Set<String> hiddenKeys); @Override Set<String> keySet(); @Override Object get(String name);  }
@Test public void childForReturnsJsonObject_withoutProjection() { JsonValue actual = createSubject().childFor("not"); assertEquals(original.childFor("not"), actual); }