void (Project project) { editWorkspaceModel(project, builder -> { List<IndexingTestEntity> entities = SequencesKt.toList(builder.entities(IndexingTestEntity.class)); for (IndexingTestEntity testEntity : entities) { builder.removeEntity(testEntity); } }); }