ResultMatcher function ( final String arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) throws Exception { assertEquals ( "srini_string" , arg0 , arg1 . getResponse ( ) . getContentAsString ( ) ) ; } } ; }
assert the response body content as a string . 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 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