### Question:
StructureImpl implements Structure { @Override public List<Field> getFields() { final List<Field> fieldList = new ArrayList<Field>(fieldsMap.size()); fieldList.addAll(fieldsMap.values()); return Collections.unmodifiableList(fieldList); } StructureImpl(final Map<String, Field> fields); @Override Field getField(final String fieldName); @Override List<Field> getFields(); @Override DataType getType(final String fieldName); @Override boolean hasMember(final String fieldName);  }### Answer:
@Test public void testGetFields() { assertThat(structure.getFields()).containsOnly(FIELD); }