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