@Test
public void testProduceCriteriaWithDateElements() throws Exception {

    Map<RequestObject, Object> filters = ImmutableMap.of(
            RequestField.of("date"), ImmutableMap.of(RequestOperator.of(OperatorType.LESS_THAN), "2016-01-01T22:54:36.115Z")
    );
    Criteria result = requestParamsCriteriaBuilder.build(filters);
    Criteria expectedCriteria = Criteria.where("date").lt(ZonedDateTime.of(2016, 1, 1, 22, 54, 36, 115000000, ZoneId.systemDefault()));
    assertThat(result).isEqualTo(expectedCriteria);
}