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
ResultMatcher function ( ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg0 ) throws Exception { MockHttpServletResponse loc0 = arg0 . getResponse ( ) ; xpathHelper . exists ( loc0 . getContentAsByteArray ( ) , getDefinedEncoding ( loc0 ) ) ; } } ; }