ResultMatcher function ( ) { return result -> { MockHttpServletResponse loc0 = result . getResponse ( ) ; xpathHelper . exists ( loc0 . getContentAsByteArray ( ) , getDefinedEncoding ( loc0 ) ) ; } ; }
evaluate the xpath and assert that content exists . concode_field_sep XpathExpectationsHelper xpathHelper concode_field_sep ResultMatcher node concode_elem_sep ResultMatcher number concode_elem_sep ResultMatcher number concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher doesNotExist concode_elem_sep String getDefinedEncoding concode_elem_sep ResultMatcher nodeCount concode_elem_sep ResultMatcher nodeCount concode_elem_sep ResultMatcher booleanValue