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