### Question:
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows) { view.setOutputAssignmentRows(outputAssignmentRows); }  @PostConstruct void init(); void setCallback(final GetDataCallback callback); @Override void handleOkClick(); @Override void handleCancelClick(); void setDataTypes(final List<String> dataTypes,
                             final List<String> dataTypeDisplayNames); void setAssignmentData(final AssignmentData assignmentData); void configureDialog(final String taskName,
                                final boolean hasInputVars,
                                final boolean isSingleInputVar,
                                final boolean hasOutputVars,
                                final boolean isSingleOutputVar); void setDisallowedPropertyNames(final List<String> disallowedPropertyNames); void setProcessVariables(final List<String> processVariables); void setInputAssignmentRows(final List<AssignmentRow> inputAssignmentRows); void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows); void setReadOnly(final boolean readOnly); void show(); @Override ListBoxValues.ValueTester dataTypesTester(); @Override ListBoxValues.ValueTester processVarTester();  }### Answer:
@Test public void testOutputAssignmentsRows() { List<AssignmentRow> rows = getAssignmentsWithSameNames(); ioEditor.setOutputAssignmentRows(rows); verify(ioEditorView).setOutputAssignmentRows(listAssignmentCaptor.capture()); checkAssignmentsWithSameNames(rows); }