ResultMatcher function ( final Object arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { jsonPathHelper . assertValue ( getContent ( arg1 ) , arg0 ) ; } } ; }
evaluate the json path expression against the response content and assert that the result is equal to the supplied value . concode_field_sep JsonPathExpectationsHelper jsonPathHelper concode_elem_sep String prefix concode_field_sep ResultMatcher isBoolean concode_elem_sep JsonPathResultMatchers prefix concode_elem_sep ResultMatcher doesNotExist concode_elem_sep ResultMatcher isNumber concode_elem_sep String getContent concode_elem_sep ResultMatcher isEmpty concode_elem_sep ResultMatcher exists concode_elem_sep ResultMatcher isString concode_elem_sep ResultMatcher isNotEmpty concode_elem_sep ResultMatcher isArray concode_elem_sep ResultMatcher isMap