### Question:
MetaDataEditorFieldProvider extends BasicTypeFieldProvider<MetaDataEditorFieldDefinition> { @Override protected void doRegisterFields() { registerPropertyType(String.class); }  @Override Class<MetaDataEditorFieldType> getFieldType(); @Override String getFieldTypeName(); @Override int getPriority(); @Override MetaDataEditorFieldDefinition createFieldByType(TypeInfo typeInfo); @Override MetaDataEditorFieldDefinition getDefaultField();  }### Answer:
@Test public void testDoRegisterFields() { metaDataEditorFieldProviderUnderTest = spy(metaDataEditorFieldProviderUnderTest); metaDataEditorFieldProviderUnderTest.doRegisterFields(); assertEquals(1, metaDataEditorFieldProviderUnderTest.getSupportedTypes().length); assertEquals(String.class.getName(), metaDataEditorFieldProviderUnderTest.getSupportedTypes()[0]); }