RequestMatcher function ( ) { return new AbstractJsonPathRequestMatcher ( ) { @ Override public void matchInternal ( MockClientHttpRequest arg0 ) throws IOException , ParseException { JsonPathRequestMatchers . this . jsonPathHelper . assertValueIsNumber ( arg0 . getBodyAsString ( ) ) ; } } ; }
evaluate the json path expression against the request content and assert that the result is a number . concode_field_sep JsonPathExpectationsHelper jsonPathHelper concode_field_sep RequestMatcher isBoolean concode_elem_sep RequestMatcher doesNotExist 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 value concode_elem_sep RequestMatcher isMap