### Question:
RecordStructureField extends SimpleDataTyped implements HierarchicalRecordStructureMember { @Override public int getLevel() { return level; } RecordStructureField(final String name, final int level, final DataType dataType);  RecordStructureField(final String name, final int level, final DataType dataType, final boolean optional,
            final String description, final List<CodeSet> codeSets, final List<EnumeratedValue> values); @Override boolean equals(final Object obj); @Override String getDescription(); List<CodeSet> getCodeSets(); @Override int getLevel(); @Override String getName(); List<EnumeratedValue> getValues(); @Override int hashCode(); boolean isOptional();  }### Answer:
@Test public void testGetLevel() { assertThat(field.getLevel()).isEqualTo(level); }