@Test
public void testRefreshView() {

    final GuidedDecisionTableModellerView.Presenter parent = mock(GuidedDecisionTableModellerView.Presenter.class);
    final Layer layer = mock(Layer.class);
    doReturn(parent).when(dtPresenter).getParent();
    doReturn(layer).when(view).getLayer();
    dtPresenter.refreshView();
    verify(parent).updateLinks();
    verify(parent).refreshScrollPosition();
    verify(layer).draw();
}