LimitLineComponentProvider extends AbstractComponentProvider { @Override public Collection<ViewInfo> getViews(String componentTypeId) { return Collections.emptyList(); } LimitLineComponentProvider(); @Override Collection<ComponentTypeInfo> getComponentTypes(); @Override Collection<ViewInfo> getViews(String componentTypeId); @Override Collection<MenuItemInfo> getMenuItemInfos(); @Override Collection<PolicyInfo> getPolicyInfos(); @Override T getAsset(TypeInfo<?> typeInfo, Class<T> assetClass);  }
@Test public void testViewInfos() { Assert.assertEquals(provider.getViews(LimitLineComponent.class.getName()).size(), 0); Assert.assertTrue(provider.getViews("abc").isEmpty()); }