ResultMatcher function ( final Object arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { jsonPathHelper . assertValue ( arg1 . getResponse ( ) . getContentAsString ( ) , arg0 ) ; } } ; }
evaluate the jsonpath and assert the value of the content found . concode_field_sep JsonPathExpectationsHelper jsonPathHelper concode_field_sep ResultMatcher doesNotExist concode_elem_sep ResultMatcher exists concode_elem_sep ResultMatcher isArray