}
@Test
public void testRmi_createEvent() {// 测试基本类型的序列化
CommunicationRegistry.regist(AppEventType.create, service);
AppCreateEvent event = new AppCreateEvent();
event.setName("rmiEvent");
event.setIntValue(1);
event.setBoolValue(false);
event.setFloatValue(1.0f);
event.setDoubleValue(1.0d);
event.setLongValue(1l);
event.setCharValue('a');
event.setShortValue((short) 1);
event.setByteValue((byte) 1);
event.setIntegerValue(new Integer("1"));
event.setBoolObjValue(new Boolean("false"));
event.setFloatObjValue(new Float("1.0"));
event.setDoubleObjValue(new Double("1.0"));
event.setLongObjValue(new Long("1"));
event.setCharacterValue('a');
event.setShortObjValue(new Short("1"));
event.setByteObjValue(new Byte("1"));
Object result = client.call("127.0.0.1:2088", event);// 同步调用
want.bool((Boolean) result).is(true);
}