parse the response content as node and apply the given hamcrest matcher . concode_field_sep XmlExpectationsHelper xmlHelper concode_elem_sep JsonExpectationsHelper jsonHelper concode_field_sep ResultMatcher contentTypeCompatibleWith concode_elem_sep ResultMatcher contentTypeCompatibleWith concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher string concode_elem_sep ResultMatcher bytes concode_elem_sep ResultMatcher xml concode_elem_sep ResultMatcher json concode_elem_sep ResultMatcher json concode_elem_sep ResultMatcher source concode_elem_sep ResultMatcher encoding concode_elem_sep ResultMatcher contentType concode_elem_sep ResultMatcher contentType
ResultMatcher function ( final Matcher < ? super Node > arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { String loc0 = arg1 . getResponse ( ) . getContentAsString ( ) ; xmlHelper . assertNode ( loc0 , arg0 ) ; } } ; }