MarshalSession marshalSession = marshalHome.create();
TestPayload payload = new TestPayload();
try
{
marshalSession.testMethod(payload);
assertTrue("Call on MarshalSession.testMethod() should have thrown UnmarshalException, but did not", false);
}
catch (MarshalException e)
{
assertTrue(true);