### Question:
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public List<AssignmentRow> getAssignmentRows() { return assignments.getValue(); }  @Override void init(final Presenter presenter); @Override void showOnlySingleEntryAllowed(); @Override int getAssignmentsCount(); @Override void setTableTitleInputSingle(); @Override void setTableTitleInputMultiple(); @Override void setTableTitleOutputSingle(); @Override void setTableTitleOutputMultiple(); @Override void setProcessVarAsSource(); @Override void setProcessVarAsTarget(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setAssignmentRows(final List<AssignmentRow> rows); @Override List<AssignmentRow> getAssignmentRows(); @Override AssignmentListItemWidgetView getAssignmentWidget(final int index); @Override void setReadOnly(final boolean readOnly); @EventHandler("addVarButton") void handleAddVarButton(final ClickEvent e);  }### Answer:
@Test public void testGetAssignmentRows() { when(assignments.getValue()).thenReturn(rows); assertEquals(rows, view.getAssignmentRows()); }