public void messageContextConfigSerializationTest()
{
this.messageContext.config()
.change()
.messageResolver(new TestMessageResolver())
.messageInterpolator(new NumberedArgumentAwareMessageInterpolator())
.localeResolver(new TestCustomMessageContext())
.addMessageHandler(new TestInMemoryMessageHandler())
.formatterFactory(new DefaultFormatterFactory())
.addFormatter(new TestFormatter(String.class))
.addFormatterConfig(Number.class, new TestEnglishNumberConfig(), Locale.ENGLISH);