EvaluatorComponentProvider extends AbstractComponentProvider { @Override public Collection<MenuItemInfo> getMenuItemInfos() { return Arrays.asList( new MenuItemInfo("/objects/creation.ext", "OBJECTS_CREATE_ENUMS", MenuItemType.NORMAL, PlaceObjectsInEnumAction.class)); } EvaluatorComponentProvider(); @Override Collection<ComponentTypeInfo> getComponentTypes(); @Override Collection<ViewInfo> getViews(String componentTypeId); @Override Collection<PolicyInfo> getPolicyInfos(); @Override //Add menu items for creating enums with puis selected in My Directory Collection<MenuItemInfo> getMenuItemInfos(); @Override T getAsset(TypeInfo<?> typeInfo, Class<T> assetClass);  }
@Test public void testGetMenuItemInfos() { Assert.assertFalse(evaluatorProvider.getMenuItemInfos().isEmpty()); Assert.assertFalse(multiProvider.getMenuItemInfos().isEmpty()); }