question: parse the response content as domsource and apply the givenhamcrest matcher . concode_field_sep XmlExpectationsHelper xmlHelper concode_elem_sep JsonExpectationsHelper jsonHelper concode_field_sep ResultMatcher node concode_elem_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 encoding concode_elem_sep ResultMatcher contentType concode_elem_sep ResultMatcher contentType
target: ResultMatcher function ( final Matcher < ? super Source > arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { String loc0 = arg1 . getResponse ( ) . getContentAsString ( ) ; xmlHelper . assertSource ( loc0 , arg0 ) ; } } ; }