### Question:
NameFieldDefinition extends AbstractFieldDefinition { @Override public NameFieldType getFieldType() { return FIELD_TYPE; } NameFieldDefinition(); @Override NameFieldType getFieldType(); static final NameFieldType FIELD_TYPE; }### Answer:
@Test public void testFieldType() { assertEquals(NameFieldDefinition.FIELD_TYPE, definition.getFieldType()); }