### Question:
DefaultWorkbenchFeaturesMenusHelper { public List<MenuItem> getAuthoringViews() { final List<MenuItem> result = new ArrayList<>(4); result.add(MenuFactory.newSimpleItem(constants.ProjectAuthoring()).perspective(LIBRARY).endMenu().build().getItems().get(0)); result.add(MenuFactory.newSimpleItem(constants.ArtifactRepository()).perspective(GUVNOR_M2REPO).endMenu().build().getItems().get(0)); result.add(MenuFactory.newSimpleItem(constants.Administration()).perspective(ADMINISTRATION).endMenu().build().getItems().get(0)); return result; } DefaultWorkbenchFeaturesMenusHelper(); @Inject  DefaultWorkbenchFeaturesMenusHelper(SyncBeanManager iocManager,
                                               ActivityManager activityManager,
                                               PerspectiveManager perspectiveManager,
                                               Caller<AuthenticationService> authService,
                                               User identity,
                                               UserMenu userMenu,
                                               UtilityMenuBar utilityMenuBar,
                                               WorkbenchMegaMenuPresenter menuBar,
                                               AboutCommand aboutCommand,
                                               AuthorizationManager authorizationManager,
                                               SessionInfo sessionInfo,
                                               PlaceManager placeManager); List<? extends MenuItem> getHomeViews(); List<MenuItem> getAuthoringViews(); List<? extends MenuItem> getProcessManagementViews(); List<? extends MenuItem> getExtensionsViews(); void addRolesMenuItems(); void addGroupsMenuItems(); void addWorkbenchViewModeSwitcherMenuItem(); void addWorkbenchConfigurationMenuItem(); void addUtilitiesMenuItems(); void addUserMenuItems(); String getDefaultPerspectiveIdentifier(); List<PerspectiveActivity> getPerspectiveActivities(); List<MenuItem> getPerspectivesMenuItems(); List<Menus> getRoles(); List<Menus> getGroups(); TopLevelMenusBuilder<MenuBuilder> buildMenusFromNavTree(NavTree navTree); List<MenuItem> buildMenuItemsFromNavGroup(NavGroup navGroup); PlaceRequest resolvePlaceRequest(String perspectiveId); static native void redirect(String url);  }### Answer:
@Test public void getAuthoringViewsTest() { List<? extends MenuItem> authoringMenuItems = menusHelper.getAuthoringViews(); assertEquals(3, authoringMenuItems.size()); assertEquals(menusHelper.constants.ProjectAuthoring(), authoringMenuItems.get(0).getCaption()); assertEquals(menusHelper.constants.ArtifactRepository(), authoringMenuItems.get(1).getCaption()); assertEquals(menusHelper.constants.Administration(), authoringMenuItems.get(2).getCaption()); }