### Question:
NameFieldProvider extends BasicTypeFieldProvider<NameFieldDefinition> { @Override protected void doRegisterFields() { registerPropertyType(Name.class); }  @Override int getPriority(); @Override NameFieldDefinition createFieldByType(final TypeInfo typeInfo); @Override Class<NameFieldType> getFieldType(); @Override String getFieldTypeName(); @Override NameFieldDefinition getDefaultField();  }### Answer:
@Test public void testDoRegisterFields() { provider.doRegisterFields(); assertTrue(provider.supports(Name.class)); assertFalse(provider.supports(String.class)); }