evaluate the json path expression against the request content and assert that the result is a boolean . concode_field_sep JsonPathExpectationsHelper jsonPathHelper concode_field_sep RequestMatcher doesNotExist concode_elem_sep RequestMatcher isNumber concode_elem_sep RequestMatcher isEmpty concode_elem_sep void match concode_elem_sep RequestMatcher exists concode_elem_sep RequestMatcher isString concode_elem_sep RequestMatcher isNotEmpty concode_elem_sep RequestMatcher isArray concode_elem_sep void matchInternal concode_elem_sep RequestMatcher value concode_elem_sep RequestMatcher value concode_elem_sep RequestMatcher isMap
RequestMatcher function ( ) { return new AbstractJsonPathRequestMatcher ( ) { @ Override public void matchInternal ( MockClientHttpRequest arg0 ) throws IOException , ParseException { JsonPathRequestMatchers . this . jsonPathHelper . assertValueIsBoolean ( arg0 . getBodyAsString ( ) ) ; } } ; }