@Test
  public void testGetChildValue_notFullyMatched() {
    Xpp3Dom root = newXpp3Dom("root", "value");
    Xpp3Dom foo = addXpp3DomChild(root, "foo", "foo");

    addXpp3DomChild(foo, "bar", "bar");
    assertThat(MavenProjectProperties.getChildValue(root, "baz")).isEmpty();
    assertThat(MavenProjectProperties.getChildValue(root, "foo", "baz")).isEmpty();
  }
Helper for reading back layers in a {@link BuildContext}.
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/MavenProjectPropertiesTest.java