### Question:
PathNode { public boolean hasChildren() { return this.modelType.hasProperties(); } PathNode(String elementName, TypeInfo elementTypeInfo, PathNode parent, GenericType elementGenericType);   PathNode(TypeInfo aTypeInfo); PathNode getParent(); TypeInfo getTypeInfo(); String getName(); boolean hasChildren(); Collection<PathNode> getChildren(); PathNode getChild(String name); PathNode asRoot(); PathNode getNode(Path pathToNode); Path getPath(); GenericType getGenericType(); PathNode getRoot(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void hasChildrenReturnsTrue() { MetadataRegistry reg = new MetadataRegistry(); PathNode info = reg.getPathNode(CompanyPM.class); assertEquals("info.hasChildren()", true, info.hasChildren()); }