conduit.getEnd2().setFudgeMessageReceiver(messages);
final RemoteNodeClient client = new RemoteNodeClient(conduit.getEnd1(), new CompiledFunctionService (new InMemoryFunctionRepository (), new CachingFunctionRepositoryCompiler(), new FunctionCompilationContext ()), new InMemoryIdentifierMap (), new FunctionInvocationStatisticsSender ());
client.start();
assertEquals(1, messages.getMessages().size());
final FudgeMsgEnvelope readyMsgEnvelope = messages.getMessages().get(0);
messages.clear();
final FudgeDeserializer dcontext = new FudgeDeserializer(s_fudgeContext);
final FudgeSerializer scontext = new FudgeSerializer(s_fudgeContext);
final RemoteCalcNodeMessage readyMessage = dcontext.fudgeMsgToObject(RemoteCalcNodeMessage.class, readyMsgEnvelope.getMessage());
assertTrue(readyMessage instanceof Ready);
conduit.getEnd2 ().getFudgeMessageSender().send (FudgeSerializer.addClassHeader(scontext.objectToFudgeMsg (new Init(0)), Init.class, RemoteCalcNodeMessage.class));