}
@Test
public void createMixedArgumentAwareMessageWithSimpleNamedArgumentMessageInterpolatorTest()
{
MessageInterpolator messageInterpolator = new CompositeMessageInterpolator(new NamedArgumentMessageInterpolator(), new NumberedArgumentAwareMessageInterpolator());
String messageText = this.messageContext.config().change().messageInterpolator(messageInterpolator).create()
.message().text("[hello] {0} and {firstName} ({1} and {lastName})")
.argument("Gerhard", "Petracek")
.namedArgument("person", new TestPerson())
.namedArgument("firstName", "Manfred")