public Bson parseSingleExpression(final String filterExpression, final List<EntityAttribute> attributes) {
        final Filter filter = singleFilterParser.parseSingleExpression(filterExpression, attributes);
        return filter.toBson();
    }
@Test
    void parsesFilterExpressionCorrectlyForDateRanges() {
        final String fromString = "2012-12-12 12:12:12";
        final String toString = "2022-12-12 12:12:12";

        final List<EntityAttribute> entityAttributes = List.of(EntityAttribute.builder()
                .id("created_at")
                .title("Creation Date")
                .type(SearchQueryField.Type.DATE)
                .filterable(true)
                .build());

        assertEquals(
                Filters.and(
                        Filters.gte("created_at",
                                new DateTime(2012, 12, 12, 12, 12, 12, DateTimeZone.UTC).toDate()),
                        Filters.lte("created_at",
                                new DateTime(2022, 12, 12, 12, 12, 12, DateTimeZone.UTC).toDate())
                ),

                toTest.parseSingleExpression("created_at:" + fromString + RANGE_VALUES_SEPARATOR + toString,
                        entityAttributes
                ));
    }