@Test
public void enterPinnedMode() {

    final GuidedDecisionTableView.Presenter dtPresenter = makeDecisionTable();
    final Command command = mock(Command.class);
    presenter.enterPinnedMode(dtPresenter.getView(),
                              command);
    verify(gridLayer,
           times(1)).enterPinnedMode(eq(dtPresenter.getView()),
                                     eq(command));
    verify(columnHeaderPopOver,
           times(1)).hide();
}