final OtpErlangObject raw_result = c.doRPC("lists", "sum", new OtpErlangList(
new OtpErlangList(new OtpErlangObject[] { new OtpErlangInt(1),
new OtpErlangInt(2), new OtpErlangInt(3) })));
final OtpErlangLong result = (OtpErlangLong) raw_result;
assertEquals(6, result.intValue());
assertNotNull(remote.getLastConnectSuccess());
assertEquals(0, remote.getFailureCount());
assertNull(remote.getLastFailedConnect());
c.close();