Utils { public static EList<Entity> getReferencedEntities(FunctionBlock fb) { BasicEList<Entity> entities = new BasicEList<Entity>(); for (Type type : getReferencedTypes(fb)) { if ((type instanceof Entity) && (!entities.contains((Entity) type))) { entities.add((Entity) type); } } return entities; }  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 getReferencedEntities() { for(FunctionblockModel fbm: fbms){ assertEquals(0, Utils.getReferencedEntities(fbm.getFunctionblock()).size()); } }