@Test
public void testMakeMenuBar() {

    doReturn(Optional.of(mock(WorkspaceProject.class))).when(workbenchContext).getActiveWorkspaceProject();
    doReturn(promises.resolve(true)).when(projectController).canUpdateProject(any());
    presenter.makeMenuBar();
    verify(fileMenuBuilder).addCopy(any(Path.class),
                                    any(AssetUpdateValidator.class));
    verify(fileMenuBuilder).addRename(any(Path.class),
                                      any(AssetUpdateValidator.class));
    verify(fileMenuBuilder).addDelete(any(Path.class),
                                      any(AssetUpdateValidator.class));
    verify(fileMenuBuilder).addNewTopLevelMenu(alertsButtonMenuItem);
    verify(presenter).addDownloadMenuItem(fileMenuBuilder);
}