@Before public void init() throws Exception { super.init(); presenter = new ProcessDashboard(view, processBreadCrumb, dashboardFactory, clientServices, displayerLocator, displayerCoordinator, placeManager, instanceSelectionEvent, processDashboardFocusEvent); }
@Before public void init() throws Exception { super.init(); presenter = new ProcessDashboard(view, processBreadCrumb, clientServices, displayerLocator, displayerCoordinator, placeManager, instanceSelectionEvent, serverTemplateSelectorMenuBuilder); presenter.setNotificationEvent(notificationEvent); when(perspectiveManagerMock.getCurrentPerspective()).thenReturn(mock(PerspectiveActivity.class)); presenter.setPerspectiveManager(perspectiveManagerMock); presenter.setUberfireBreadcrumbs(uberfireBreadcrumbsMock); presenter.init(); }
@Before public void init() throws Exception { super.init(); presenter = new ProcessDashboard(view, processBreadCrumb, clientServices, displayerLocator, displayerCoordinator, placeManager, instanceSelectionEvent, serverTemplateSelectorMenuBuilder); presenter.setNotificationEvent(notificationEvent); when(perspectiveManagerMock.getCurrentPerspective()).thenReturn(mock(PerspectiveActivity.class)); presenter.setPerspectiveManager(perspectiveManagerMock); presenter.setUberfireBreadcrumbs(uberfireBreadcrumbsMock); presenter.init(); }