### Question:
PrimitiveFieldImpl extends AbstractField { @Override public String getDeclaration() { return getName() + " = " + getType().toString(); } PrimitiveFieldImpl(final String fieldName, final DataType dataType); @Override long getDataLength(); @Override String getDeclaration(); @Override int getListSize(); @Override String getName(); @Override Structure getStructure(); @Override DataType getType();  }### Answer:
@Test public void testGetDeclaration() { assertThat(field.getDeclaration()).isEqualTo(String.format("%s = %s", FIELD_NAME, DATA_TYPE.toString())); }