public void testMarshalledObjectReturn() throws Throwable
{
// simple invoke, should return bar
Object ret = makeInvocation("testMarshalledObject", null);
ret = ((MarshalledObject) ret).get();
ComplexReturn complexRet = (ComplexReturn) ret;
MockTest[] mockTests = complexRet.getMockTests();
assertTrue("ComplexReturn's array should contain 2 items",
2 == mockTests.length);
for(int x = 0; x < mockTests.length; x++)
{
System.err.println(mockTests[x]);