ResultMatcher function ( ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg0 ) throws Exception { String loc0 = getContent ( arg0 ) ; jsonPathHelper . assertValueIsEmpty ( loc0 ) ; } } ; }
evaluate the json path expression against the response content and assert that an empty value exists at the given path . for the semantics of empty , consult the javadoc for org.springframework.util.objectutils #isempty object . 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 exists concode_elem_sep ResultMatcher isString concode_elem_sep ResultMatcher isNotEmpty concode_elem_sep ResultMatcher isArray concode_elem_sep ResultMatcher value concode_elem_sep ResultMatcher value concode_elem_sep ResultMatcher isMap