code: @SuppressWarnings("unchecked")
  	public static <T extends EntityModel<S>, S> CollectionModel<T> wrap(Iterable<S> content) {
  
  		Assert.notNull(content, "Content must not be null!");
  
  		ArrayList<T> resources = new ArrayList<>();
  
  		for (S element : content) {
  			resources.add((T) new EntityModel<>(element));
  		}
  
  		return new CollectionModel<>(resources);
  	}
docs: Creates a new {@link CollectionModel} instance by wrapping the given domain class instances into a
  {@link EntityModel}.
  
  @param content must not be {@literal null}.
  @return