public LegacyDeleteResult<T, K> removeById(K objectId) {
        return new LegacyDeleteResult<>(delegate.removeById(objectId));
    }
@Test
    void removeById() {
        final var collection = jacksonCollection("simple", Simple.class);
        final var foo = new Simple("000000000000000000000001", "foo");
        final var bar = new Simple("000000000000000000000002", "bar");

        collection.insert(List.of(foo, bar));
        assertThat(collection.removeById(foo.id()).getN()).isEqualTo(1);
        assertThat((Iterable<Simple>) collection.find()).containsExactly(bar);
    }