### Question:
ImportsFieldDefinition extends AbstractFieldDefinition { @Override public ImportsFieldType getFieldType() { return FIELD_TYPE; } ImportsFieldDefinition(); @Override ImportsFieldType getFieldType(); static final ImportsFieldType FIELD_TYPE; }### Answer:
@Test public void getFieldType() { ImportsFieldDefinition tested = new ImportsFieldDefinition(); assertEquals(ImportsFieldDefinition.FIELD_TYPE, tested.getFieldType()); assertEquals(ImportsFieldType.NAME, new ImportsFieldDefinition().getFieldType().getTypeName()); }