}
request.addAddressHeader("foo", address, false);
assertEquals("foo", ((SipURI) request.getAddressHeader("FOO").getURI()).getHost());
request.addAddressHeader("bar", new ReadOnlyAddress(address), false);
assertEquals("foo", ((SipURI) request.getAddressHeader("Bar").getURI()).getHost());
request.setAddressHeader("bar", new ReadOnlyAddress(address));
assertEquals("foo", ((SipURI) request.getAddressHeader("Bar").getURI()).getHost());
}