@Override
    public MongoPaginationHelper<T> grandTotalFilter(Bson grandTotalFilter) {
        return new DefaultMongoPaginationHelper<>(collection, filter, sort, perPage, includeGrandTotal,
                grandTotalFilter, collation);
    }
@Test
    void testGrandTotalFilter() {
        final Bson filter = Filters.in("name", "A", "B", "C");
        assertThat(paginationHelper.includeGrandTotal(true).grandTotalFilter(filter).page(1).grandTotal())
                .isEqualTo(paginationHelper.includeGrandTotal(true).grandTotalFilter(filter).page(1, alwaysTrue()).grandTotal())
                .contains(3L);
    }