@Test
public void testRegexOperator() throws Exception {

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