@Test
public void testSingleFieldWithOperator() throws Exception {

    Map<String, Object> rawFilters = readFiltersFromResources("SingleFieldWithOperator.json");
    Map<RequestObject, Object> filters = FiltersParser.parseFilters(rawFilters);
    Assertions.assertThat(filters)
            .hasSize(1)
            .containsOnlyKeys(RequestField.of("name"));
    assertThat((Map) filters.get(RequestField.of("name")))
            .containsEntry(RequestOperator.of(OperatorType.EQUAL.getName()), "John");
}