void (@NotNull String message, @NotNull Collection<? extends TrelloModel> objects, String @NotNull ... names) { assertEquals(message, ContainerUtil.newHashSet(names), ContainerUtil.map2Set(objects, (Function<TrelloModel, String>)model -> model.getName())); }