ShowcaseEntryPoint extends DefaultWorkbenchEntryPoint { protected List<? extends MenuItem> getProcessManagementViews() { return Arrays.asList( MenuFactory.newSimpleItem(commonConstants.Process_Definitions()).perspective(PROCESS_DEFINITIONS).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(commonConstants.Process_Instances()).perspective(PROCESS_INSTANCES).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(constants.Process_Instances_Admin()).perspective(ProcessAdminSettingsPerspective.PERSPECTIVE_ID).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(commonConstants.Tasks()).perspective(TASKS_ADMIN).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(commonConstants.ExecutionErrors()).perspective(EXECUTION_ERRORS).endMenu().build().getItems().get(0) ); } @Inject  ShowcaseEntryPoint(final Caller<AppConfigService> appConfigService,
                              final ActivityBeansCache activityBeansCache,
                              final SyncBeanManager iocManager,
                              final User identity,
                              final DefaultAdminPageHelper adminPageHelper,
                              final DefaultWorkbenchFeaturesMenusHelper menusHelper,
                              final WorkbenchMegaMenuPresenter menuBar,
                              final DefaultWorkbenchErrorCallback defaultWorkbenchErrorCallback,
                              final AppFormerJsBridge appFormerJsBridge); @Produces @ApplicationScoped MainBrand createBrandLogo();  }
@Test public void getProcessManagementViewsTest() { List<? extends MenuItem> processManagementMenuItems = showcaseEntryPoint.getProcessManagementViews(); assertEquals(5, processManagementMenuItems.size()); assertEquals(showcaseEntryPoint.commonConstants.Process_Definitions(), processManagementMenuItems.get(0).getCaption()); assertEquals(showcaseEntryPoint.commonConstants.Process_Instances(), processManagementMenuItems.get(1).getCaption()); assertEquals(showcaseEntryPoint.constants.Process_Instances_Admin(), processManagementMenuItems.get(2).getCaption()); assertEquals(showcaseEntryPoint.commonConstants.Tasks(), processManagementMenuItems.get(3).getCaption()); assertEquals(showcaseEntryPoint.commonConstants.ExecutionErrors(), processManagementMenuItems.get(4).getCaption()); }