### Question:
BaseSupplementaryFunctionEditorDefinition extends BaseEditorDefinition<Context, FunctionSupplementaryGridData> { protected InformationItem createVariable(final String name) { final InformationItem variable = new InformationItem(); variable.setName(new Name(name)); variable.setTypeRef(new QName(DEFAULT_VARIABLE_TYPE)); return variable; } protected  BaseSupplementaryFunctionEditorDefinition();  BaseSupplementaryFunctionEditorDefinition(final DefinitionUtils definitionUtils,
                                                     final SessionManager sessionManager,
                                                     final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                                     final DefaultCanvasCommandFactory canvasCommandFactory,
                                                     final Event<ExpressionEditorChanged> editorSelectedEvent,
                                                     final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
                                                     final Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
                                                     final ListSelectorView.Presenter listSelector,
                                                     final TranslationService translationService,
                                                     final Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier,
                                                     final ReadOnlyProvider readOnlyProvider); @Override Optional<Context> getModelClass(); @Override void enrich(final Optional<String> nodeUUID,
                       final HasExpression hasExpression,
                       final Optional<Context> expression); @Override Optional<BaseExpressionGrid<? extends Expression, ? extends GridData, ? extends BaseUIModelMapper>> getEditor(final GridCellTuple parent,
                                                                                                                         final Optional<String> nodeUUID,
                                                                                                                         final HasExpression hasExpression,
                                                                                                                         final Optional<HasName> hasName,
                                                                                                                         final boolean isOnlyVisualChangeAllowed,
                                                                                                                         final int nesting);  }### Answer:
@Test public void testDefaultVariableType() { final InformationItem variable = baseSupplementaryFunctionEditorDefinition.createVariable("variable"); assertEquals(variable.getTypeRef().getLocalPart(), BuiltInType.STRING.getName()); }