### Question:
Structure implements Named { @SuppressWarnings("unchecked") public <T extends StructureMember> T getRootLevelMember(final int index) { return (T) members.get(index); } Structure(final String name, final List<? extends StructureMember> members); @Override boolean equals(final Object obj); @Override String getName(); @SuppressWarnings("unchecked") T getRootLevelMember(final int index); int getRootLevelMemberCount(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetRootLevelMember() { assertThat(structure.<StructureMember> getRootLevelMember(0)).isEqualTo(member); }