### Question:
ActivityDataIOEditorViewImpl extends BaseModal implements ActivityDataIOEditorView { @Override public void setIsInputAssignmentSingleVar(final boolean single) { inputAssignmentsWidget.setIsSingleVar(single); } ActivityDataIOEditorViewImpl(); void init(final Presenter presenter); @Override void onHide(final Event e); @Override void setCustomViewTitle(final String name); @Override void setDefaultViewTitle(); @Override void setInputAssignmentRows(final List<AssignmentRow> inputAssignmentRows); @Override void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows); @Override void setInputAssignmentsVisibility(final boolean visible); @Override void setOutputAssignmentsVisibility(final boolean visible); @Override void setIsInputAssignmentSingleVar(final boolean single); @Override void setIsOutputAssignmentSingleVar(final boolean single); @Override void hideView(); @Override void showView(); @Override List<AssignmentRow> getInputAssignmentData(); @Override List<AssignmentRow> getOutputAssignmentData(); @Override void setPossibleInputAssignmentsDataTypes(final List<String> dataTypeDisplayNames); @Override void setPossibleOutputAssignmentsDataTypes(final List<String> dataTypeDisplayNames); @Override void setInputAssignmentsProcessVariables(final List<String> processVariables); @Override void setOutputAssignmentsProcessVariables(final List<String> processVariables); @Override void setInputAssignmentsDisallowedNames(final Set<String> names); @Override void setReadOnly(boolean readOnly); static final int EXPRESSION_MAX_DISPLAY_LENGTH; }### Answer:
@Test public void testSetInputAssignmentsSingleVar() { view.setIsInputAssignmentSingleVar(true); verify(inputAssignmentsWidget).setIsSingleVar(true); verify(inputAssignmentsWidget, never()).setIsSingleVar(false); view.setIsInputAssignmentSingleVar(false); verify(inputAssignmentsWidget).setIsSingleVar(true); verify(inputAssignmentsWidget).setIsSingleVar(false); }