conduit.getEnd2().getFudgeMessageSender().send(FudgeSerializer.addClassHeader(scontext.objectToFudgeMsg(new IsAlive(Arrays.asList (job1.getSpecification (), job2.getSpecification ()))), IsAlive.class, RemoteCalcNodeMessage.class));
final FudgeMsgEnvelope resultMsgEnvelope = messages.waitForMessage(TIMEOUT);
assertNotNull(resultMsgEnvelope);
final RemoteCalcNodeMessage failureMessage = dcontext.fudgeMsgToObject(RemoteCalcNodeMessage.class, resultMsgEnvelope.getMessage());
assertTrue(failureMessage instanceof Failure);
final Failure failure = (Failure) failureMessage;
assertEquals(job2.getSpecification(), failure.getJob());
// No more messages - job1 is alive
assertNull (messages.waitForMessage(TIMEOUT));
}