@Test
public void testChildForFailure_NotFound() {

    LoadingState ls = helloWorldObjState();
    try {
        ls.childFor("nonexistent");
        fail("did not throw exception for nonexistent key");
    } catch (SchemaException e) {
        SchemaException expected = new SchemaException("#", "key [nonexistent] not found");
        assertEquals(expected, e);
    }
}