protected void setUp() throws Exception {
container = createRpcContainer(RpcConstants.TEST_ECHO_TARGET);
IRemoteCallable callableEcho = RemoteCallableFactory.createCallable(RpcConstants.TEST_ECHO_METHOD_NAME, RpcConstants.TEST_ECHO_METHOD,
new IRemoteCallParameter[]{new RemoteCallParameter(RpcConstants.TEST_ECHO_METHOD_PARAM)});
registrationEcho = registerCallable(container, callableEcho, null);
IRemoteCallable callableEchoProxy = RemoteCallableFactory.createCallable(IEcho.class.getName());
registrationEchoProxy = registerCallable(container, callableEchoProxy, null);
IRemoteCallable callableCalc = RemoteCallableFactory.createCallable(RpcConstants.TEST_CALC_PLUS_METHOD_NAME, RpcConstants.TEST_CALC_PLUS_METHOD,
new IRemoteCallParameter[]{
new RemoteCallParameter(RpcConstants.TEST_CALC_PLUS_METHOD_PARAM1),
new RemoteCallParameter(RpcConstants.TEST_CALC_PLUS_METHOD_PARAM2)});
registrationCalc = registerCallable(container, callableCalc, null);
}