@Test
public void testAddOnEnterPinnedModeCommand() {

    final GuidedDecisionTableModellerView.Presenter parent = mock(GuidedDecisionTableModellerView.Presenter.class);
    final Command command = mock(Command.class);
    doReturn(parent).when(dtPresenter).getParent();
    dtPresenter.addOnEnterPinnedModeCommand(command);
    verify(parent).addOnEnterPinnedModeCommand(command);
}