### Question:
VariablesEditorFieldRenderer extends FieldRenderer<VariablesEditorFieldDefinition, DefaultFormGroup> implements VariablesEditorWidgetView.Presenter { static VariableRow createVariableRow() { VariableRow newVariable = new VariableRow(); newVariable.setVariableType(Variable.VariableType.PROCESS); newVariable.setDataTypeDisplayName("Object"); return newVariable; } @Inject  VariablesEditorFieldRenderer(final VariablesEditorWidgetView variablesEditor,
                                        final SessionManager sessionManager,
                                        final ErrorPopupPresenter errorPopupPresenter); @Override String getName(); @Override void doSave(); @Override void addVariable(); @Override void setDataTypes(final List<String> dataTypes,
                             final List<String> dataTypeDisplayNames); @Override void notifyModelChanged(); @Override List<VariableRow> deserializeVariables(final String s); @Override String serializeVariables(final List<VariableRow> variableRows); @Override boolean isDuplicateName(final String name); @Override boolean isBoundToNodes(String name); @Override void removeVariable(final VariableRow variableRow); @Override ListBoxValues.ValueTester dataTypesTester(); @Override Path getDiagramPath(); void setLastOverlayOpened(final Button overlayCloseButton); Button getLastOverlayOpened(); void closeLastOverlay(); static Set<String> getDefaultTagsSet();  }### Answer:
@Test public void testCreateVariableRow() { VariableRow variableRow = VariablesEditorFieldRenderer.createVariableRow(); assertEquals(Variable.VariableType.PROCESS, variableRow.getVariableType()); assertEquals("Object", variableRow.getDataTypeDisplayName()); }