@Test(expected = IllegalArgumentException.class)
public void testFilterFromFieldFollowedByFieldShouldFail() throws Exception {

    Map<RequestObject, Object> filters = ImmutableMap.of(
            RequestField.of("foo"),
            ImmutableMap.of(RequestField.of("bar"), Maps.newHashMap()));
    requestParamsCriteriaBuilder.build(filters);
}