protected void assertHasHeaderValue(String name,String value){
  MultivaluedMap<String,String> headers=getLastReceivedHeaders();
  Assert.assertNotNull(headers);
  List<String> values=headers.get(name);
  Assert.assertNotNull(values);
  Assert.assertTrue(values.contains(value));
}

protected void assertHasHeaderValue ( String name , String value ) { MultivaluedMap < String , String > headers = getLastReceivedHeaders ( ) ; Assert . assertNotNull ( headers ) ; List < String > values = headers . get ( name ) ; Assert . assertNotNull ( values ) ; Assert . assertTrue ( values . contains ( value ) ) ; }
assert the specified header name has the specified value .
