replay();
MethodSignature sig = new MethodSignature(Modifier.PUBLIC, "void", "myMethod", new String[]
{ MARKUP_WRITER_CLASS_NAME, LOCALE_CLASS_NAME }, null);
MethodInvocationBuilder invoker = new MethodInvocationBuilder();
invoker.addParameter(MARKUP_WRITER_CLASS_NAME, "$1");
invoker.addParameter(LOCALE_CLASS_NAME, "$2");
assertEquals(invoker.buildMethodInvocation(sig, transformation), "myMethod($1, $2)");
verify();
}