ShowcaseEntryPoint extends DefaultWorkbenchEntryPoint { protected List<? extends MenuItem> getDashboardsViews() { return Arrays.asList( MenuFactory.newSimpleItem(constants.Process_Reports()).perspective(PROCESS_DASHBOARD).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(constants.Task_Reports()).perspective(TASK_DASHBOARD).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 getDashboardsViewsTest() { List<? extends MenuItem> dashboardsMenuItems = showcaseEntryPoint.getDashboardsViews(); assertEquals(2, dashboardsMenuItems.size()); assertEquals(showcaseEntryPoint.constants.Process_Reports(), dashboardsMenuItems.get(0).getCaption()); assertEquals(showcaseEntryPoint.constants.Task_Reports(), dashboardsMenuItems.get(1).getCaption()); }