List<Object[]> cases = new ArrayList<Object[]>();
// Consider all view types
for (ViewType type : ViewType.values()) {
ViewInfo info = new ViewInfo(InfoViewManifestation.class, InfoViewManifestation.VIEW_NAME, InfoViewManifestation.class.getName(), type);
ViewInfo expr = new ViewInfo(ExpressionsViewManifestation.class, ExpressionsViewManifestation.VIEW_NAME, InfoViewManifestation.class.getName(), type);
TypeInfo<?> eval = new ComponentTypeInfo("","",EvaluatorComponent.class);
TypeInfo<?> mult = new ComponentTypeInfo("","",MultiComponent.class);
for (TypeInfo<?> vi : new TypeInfo<?>[]{info,expr,eval,mult}) {
// Expressions view should have an image icon
cases.add(new Object[] { new EvaluatorComponentProvider(), vi, ImageIcon.class, vi.getTypeClass().equals(ExpressionsViewManifestation.class)});
// Verify assignable check also recognizes icon
cases.add(new Object[] { new EvaluatorComponentProvider(), vi, Icon.class, vi.getTypeClass().equals(ExpressionsViewManifestation.class)});