@Test
public void testGetContentSupplier() {

    final GuidedDecisionTableView.Presenter presenter = mock(GuidedDecisionTableView.Presenter.class);
    final GuidedDecisionTable52 model = mock(GuidedDecisionTable52.class);
    final Overview overview = mock(Overview.class);
    final ObservablePath currentPath = mock(ObservablePath.class);
    final ObservablePath latestPath = mock(ObservablePath.class);
    doReturn(model).when(presenter).getModel();
    doReturn(overview).when(presenter).getOverview();
    doReturn(currentPath).when(presenter).getCurrentPath();
    doReturn(latestPath).when(presenter).getLatestPath();
    doReturn(asSet(presenter)).when(this.presenter).getAvailableDecisionTables();
    final List<GuidedDecisionTableEditorContent> content = this.presenter.getContentSupplier().get();
    final GuidedDecisionTableEditorContent firstContent = content.get(0);
    assertEquals(1, content.size());
    assertEquals(model, firstContent.getModel());
    assertEquals(overview, firstContent.getOverview());
    assertEquals(currentPath, firstContent.getCurrentPath());
    assertEquals(latestPath, firstContent.getLatestPath());
}