public T findOne(Bson filter) throws MongoException {
        return delegate.findOne(filter);
    }
@Test
    void findOne() {
        final var collection = jacksonCollection("simple", Simple.class);
        final List<Simple> items = List.of(
                new Simple("000000000000000000000001", "foo"),
                new Simple("000000000000000000000002", "bar")
        );
        collection.insert(items);
        assertThat(collection.findOne(new BasicDBObjectBuilder().add("name", "bar").get()))
                .isEqualTo(items.get(1));
        assertThat(collection.findOne(DBQuery.is("name", "bar"))).isEqualTo(items.get(1));
    }