Utils { public static EList<Enum> getReferencedEnums(FunctionBlock fb) { BasicEList<Enum> enums = new BasicEList<Enum>(); for (Type type : getReferencedTypes(fb)) { if ((type instanceof Enum) && (!enums.contains((Enum) type))) { enums.add((Enum) type); } } return enums; }  static InformationModel toInformationModel(Model model); static InformationModel wrapFunctionBlock(FunctionblockModel fbModel); static EList<Entity> getReferencedEntities(FunctionBlock fb); static EList<Enum> getReferencedEnums(FunctionBlock fb); static EList<Type> getReferencedTypes(Type type); static EList<Type> getReferencedTypes(Property property); static EList<Type> getReferencedTypes(FunctionBlock fb);  }
@Test public void getReferencedEnums() { for(FunctionblockModel fbm: fbms){ assertEquals(0, Utils.getReferencedEnums(fbm.getFunctionblock()).size()); } }