public Map<String, List<JobDefinitionDto>> getAllByConfigField(String configField, Collection<? extends Object> values) {
        final String field = String.format(Locale.US, "%s.%s", JobDefinitionDto.FIELD_CONFIG, configField);

        return StreamEx.of(db.find(DBQuery.in(field, values))).groupingBy(configFieldGroup(configField));
    }
@Test
    @MongoDBFixtures("job-definitions-with-triggers.json")
    public void getAllByConfigFieldWithEmptyValues() {
        final Map<String, List<JobDefinitionDto>> result = service.getAllByConfigField("event_definition_id", Collections.singleton("unknown-id"));
        assertThat(result).isEmpty();
    }