public static Bson idsIn(Collection<ObjectId> ids) {
        return Filters.in("_id", ids);
    }
@Test
    void testIdsIn() {
        final String missingId1 = "6627add0ee216425dd6df36a";
        final String missingId2 = "6627add0ee216425dd6df36b";
        final String idA = "6627add0ee216425dd6df37a";
        final String idB = "6627add0ee216425dd6df37b";
        final String idC = "6627add0ee216425dd6df37c";
        final String idD = "6627add0ee216425dd6df37d";
        final String idE = "6627add0ee216425dd6df37e";
        final String idF = "6627add0ee216425dd6df37f";
        final var a = new DTO(idA, "a");
        final var b = new DTO(idB, "b");
        final var c = new DTO(idC, "c");
        final var d = new DTO(idD, "d");
        final var e = new DTO(idE, "e");
        final var f = new DTO(idF, "f");
        collection.insertMany(List.of(a, b, c, d, e, f));

        assertThat(collection.find(stringIdsIn(Set.of(idA, idF)))).contains(a, f);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idF)))).hasSize(2);
        assertThat(collection.find(stringIdsIn(Set.of(missingId1, missingId2)))).hasSize(0);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idB, missingId1, missingId2)))).contains(a, b);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idB, missingId1, missingId2)))).hasSize(2);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idB, idC, idD, idE, idF)))).hasSize(6);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idB, idC, idD, idE, idF)))).contains(a, b, c, d, e, f);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idB, idC, idD, idE, idF, missingId1, missingId2)))).hasSize(6);
        assertThat(collection.find(stringIdsIn(Set.of(idA, idB, idC, idD, idE, idF, missingId1, missingId2)))).contains(a, b, c, d, e, f);
    }