@Test
public void makeMenuBarCanUpdateProjectTrue() {

    doReturn(Optional.of(mock(WorkspaceProject.class))).when(workbenchContextMock).getActiveWorkspaceProject();
    doReturn(promises.resolve(true)).when(projectControllerMock).canUpdateProject(any());
    scenarioSimulationEditorBusinessClientWrapper.makeMenuBar();
    verify(scenarioSimulationEditorPresenterMock, times(1)).makeMenuBar(same(fileMenuBuilderMock));
}