public void testClientMethodSerialization_WithBasicParams_NoChanges()
throws Exception {
String stringParam = "a string 123";
Integer integerParam = 1234567890;
ClientMethodInvocation original = new ClientMethodInvocation(null,
"interfaceName", BASIC_PARAMS_CALL_METHOD, new Serializable[] {
stringParam, integerParam });
ClientMethodInvocation copy = (ClientMethodInvocation) serializeAndDeserialize(original);
String copyString = (String) copy.getParameters()[0];
Integer copyInteger = (Integer) copy.getParameters()[1];
assertEquals(copyString, stringParam);
assertEquals(copyInteger, integerParam);
}