public Bson createDbQuery(final List<String> filters, final String query) {
        try {
            final var searchQuery = searchQueryParser.parse(query);
            final var filterExpressionFilters = dbFilterParser.parse(filters, attributes);
            return buildDbQuery(searchQuery, filterExpressionFilters);
        } catch (IllegalArgumentException e) {
            throw new BadRequestException("Invalid argument in search query: " + e.getMessage());
        }
    }
@Test
    void returnsQueryBasedOnlyOnFilterExpressionIfNoSearchQueryProvided() {
        doReturn(new SearchQuery("")).when(searchQueryParser).parse(eq(""));
        doReturn(List.of(Filters.eq("nvmd", "lalala"), Filters.eq("hohoho", "42")))
                .when(dbFilterParser)
                .parse(List.of("nvmd:lalala", "hohoho:42"), attributes);

        final Bson dbQuery = toTest.createDbQuery(List.of("nvmd:lalala", "hohoho:42"), "");
        assertEquals(Filters.and(
                Filters.eq("nvmd", "lalala"),
                Filters.eq("hohoho", "42")
        ), dbQuery);
    }