public void testMethodToStringWithProxyArg() throws Exception {
Mock mockDummyInterface = new Mock(DummyInterface.class, "DummyMock");
Invocation invocation =
new Invocation("methodName", new Class[]{String.class, DummyInterface.class}, void.class,
new Object[]{"arg1", mockDummyInterface.proxy()});
String result = invocation.toString();
AssertMo.assertIncludes("Should contain method name", "methodName", result);
AssertMo.assertIncludes("Should contain firstArg", "arg1", result);
AssertMo.assertIncludes("Should contain second Arg", "DummyMock", result);