ShowcaseEntryPoint extends DefaultWorkbenchEntryPoint { protected List<? extends MenuItem> getWorkViews() { return Arrays.asList( MenuFactory.newSimpleItem(commonConstants.Task_Inbox()).perspective(TASKS).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(constants.Tasks_List_Admin()).perspective(TaskAdminSettingsPerspective.PERSPECTIVE_ID).endMenu().build().getItems().get(0), MenuFactory.newSimpleItem(constants.Data_Sets()).perspective(DATASET_AUTHORING).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 getWorkViewsTest() { List<? extends MenuItem> workMenuItems = showcaseEntryPoint.getWorkViews(); assertEquals(3, workMenuItems.size()); assertEquals(showcaseEntryPoint.commonConstants.Task_Inbox(), workMenuItems.get(0).getCaption()); assertEquals(showcaseEntryPoint.constants.Tasks_List_Admin(), workMenuItems.get(1).getCaption()); assertEquals(showcaseEntryPoint.constants.Data_Sets(), workMenuItems.get(2).getCaption()); }