### Question:
AbstractParentStructure implements HierarchicalStructureMember { @Override public String getName() { return name; } AbstractParentStructure(final String name, final int level); void addChildMember(final StructureMember child); @Override boolean equals(final Object obj); @SuppressWarnings("unchecked") T getChildMember(final int index); int getChildMemberCount(); @Override int getLevel(); @Override String getName(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetName() { assertThat(list.getName()).isEqualTo(name); }