@Test public void testConstructZeroLevel() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { new ConcreteStructure(name, 0, description, children); }); assertThat(e.getMessage()).isEqualTo("Level cannot be less than 1: " + Integer.toString(0)); }
@Override public String toString() { return ToStringBuilder.reflectionToString(this); }
AbstractParentRecordStructureMember implements HierarchicalRecordStructureMember { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } }
AbstractParentRecordStructureMember implements HierarchicalRecordStructureMember { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } AbstractParentRecordStructureMember(final String name, final int level, final String description,
            final List<? extends RecordStructureMember> children); }
AbstractParentRecordStructureMember implements HierarchicalRecordStructureMember { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } AbstractParentRecordStructureMember(final String name, final int level, final String description,
            final List<? extends RecordStructureMember> children); @Override boolean equals(final Object obj); @SuppressWarnings("unchecked") T getChildMember(final int index); int getChildMemberCount(); @Override String getDescription(); @Override int getLevel(); @Override String getName(); @Override int hashCode(); @Override String toString(); }
AbstractParentRecordStructureMember implements HierarchicalRecordStructureMember { @Override public String toString() { return ToStringBuilder.reflectionToString(this); } AbstractParentRecordStructureMember(final String name, final int level, final String description,
            final List<? extends RecordStructureMember> children); @Override boolean equals(final Object obj); @SuppressWarnings("unchecked") T getChildMember(final int index); int getChildMemberCount(); @Override String getDescription(); @Override int getLevel(); @Override String getName(); @Override int hashCode(); @Override String toString();  }