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