@Test
public void checkMayCloseWithCleanDecisionTable() {

    final ObservablePath path = mock(ObservablePath.class);
    final PlaceRequest placeRequest = mock(PlaceRequest.class);
    final GuidedDecisionTableEditorContent content = makeDecisionTableContent();
    final GuidedDecisionTableView.Presenter dtPresenter = makeDecisionTable(path,
                                                                            path,
                                                                            placeRequest,
                                                                            content);
    when(dtPresenter.getOriginalHashCode()).thenReturn(0);
    when(modeller.getAvailableDecisionTables()).thenReturn(new HashSet<GuidedDecisionTableView.Presenter>() {{
        add(dtPresenter);
    }});
    assertTrue(presenter.mayClose());
}