@Test
public void testLoadDefinition() throws Exception {

    final Exception loadContentException = mock(Exception.class);
    doThrow(loadContentException).when(dataSetDefVfsServices).load(any(Path.class));
    presenter.loadContent();
    verify(dataSetDefVfsServices, times(1)).get(any(Path.class));
    verify(view, times(1)).hideBusyIndicator();
    verify(view, times(1)).setWidget(editWorkflow);
    verify(editWorkflow, times(1)).edit(dataSetDef, columns);
    verify(editWorkflow, times(1)).showPreviewTab();
}