@Test
  public void willIgnoreIfUpdateRowWithValueNotInCurrentPage() {
    selectedTU = currentPageRows.get(2);
    when(display.getId()).thenReturn(selectedTU.getId());
    TransUnit updatedTransUnit = TestFixture.makeTransUnit(99);

    presenter.updateRow(updatedTransUnit);

    verify(display, never()).setValueAndCreateNewEditors(updatedTransUnit);
  }
  @Test
  public void canUpdateRowIfInCurrentDisplays() {
    selectedTU = currentPageRows.get(2);
    when(display.getId()).thenReturn(selectedTU.getId());
    TransUnit updatedTransUnit = TestFixture.makeTransUnit(selectedTU.getId().getId());

    presenter.updateRow(updatedTransUnit);

    verify(display).setValueAndCreateNewEditors(updatedTransUnit);
    verify(display).refresh();
  }
  @Test
  public void canUpdateRowIfInCurrentDisplays() {
    selectedTU = currentPageRows.get(2);
    when(display.getId()).thenReturn(selectedTU.getId());
    TransUnit updatedTransUnit = TestFixture.makeTransUnit(selectedTU.getId().getId());

    presenter.updateRow(updatedTransUnit);

    InOrder inOrder = Mockito.inOrder(display);
    inOrder.verify(display).setValueAndCreateNewEditors(updatedTransUnit);
    inOrder.verify(display).setState(TargetContentsDisplay.EditingState.SAVED);
    inOrder.verify(display).refresh();
  }