assert the primary value of the response header with the given hamcrest string matcher . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher dateValue concode_elem_sep ResultMatcher stringValues concode_elem_sep ResultMatcher stringValues concode_elem_sep ResultMatcher doesNotExist concode_elem_sep ResultMatcher longValue
ResultMatcher function ( final String arg0 , final Matcher < ? super String > arg1 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg2 ) { assertThat ( "srini_string" + arg0 , arg2 . getResponse ( ) . getHeader ( arg0 ) , arg1 ) ; } } ; }