public void newContextTest()
{
MessageContext newMessageContext = this.messageContext.cloneContext();
this.messageContext.config().change().localeResolver(new TestGermanLocaleResolver());
newMessageContext.config().change().localeResolver(new TestEnglishLocaleResolver());
if (newMessageContext.equals(this.messageContext))
{
fail("different context expected - old context: " + this.messageContext.toString() + " new context: " + newMessageContext.toString());
}