ResultMatcher function ( ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg0 ) throws Exception { String loc0 = arg0 . getResponse ( ) . getContentAsString ( ) ; jsonPathHelper . assertValueIsBoolean ( loc0 ) ; } } ; }
evaluate the json path expression against the response content and assert that the result is a boolean . concode_field_sep JsonPathExpectationsHelper jsonPathHelper concode_field_sep ResultMatcher doesNotExist concode_elem_sep ResultMatcher isNumber 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 value concode_elem_sep ResultMatcher value concode_elem_sep ResultMatcher isMap