assert the response body content as a byte array . 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 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 byte [ ] arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { assertEquals ( "srini_string" , arg0 , arg1 . getResponse ( ) . getContentAsByteArray ( ) ) ; } } ; }