ShowcaseEntryPoint extends DefaultWorkbenchEntryPoint { protected List<? extends MenuItem> getDeploymentViews() { return Arrays.asList( MenuFactory.newSimpleItem(constants.Execution_Servers()).perspective(SERVER_MANAGEMENT).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(commonConstants.Jobs()).perspective(JOBS).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 getDeploymentViewsTest() { List<? extends MenuItem> deploymentMenuItems = showcaseEntryPoint.getDeploymentViews(); assertEquals(2, deploymentMenuItems.size()); assertEquals(showcaseEntryPoint.constants.Execution_Servers(), deploymentMenuItems.get(0).getCaption()); assertEquals(showcaseEntryPoint.commonConstants.Jobs(), deploymentMenuItems.get(1).getCaption()); }