PlotViewProvider extends AbstractComponentProvider { @Override public Collection<ViewInfo> getViews(String componentTypeId) { return viewInfos; } PlotViewProvider(); @Override Collection<ViewInfo> getViews(String componentTypeId); @Override Collection<PolicyInfo> getPolicyInfos(); @Override T getAsset(TypeInfo<?> typeInfo, Class<T> assetClass);  }
@Test public void testGetViewRoles() { Assert.assertTrue(provider.getViews("").contains(new ViewInfo(PlotViewManifestation.class,"","gov.nasa.arc.mct.fastplot.view.PlotViewRole", ViewType.CENTER))); }