JobVertexID vid2 = new JobVertexID();
ExecutionAttemptID eid1 = new ExecutionAttemptID();
ExecutionAttemptID eid2 = new ExecutionAttemptID();
ChannelID senderId = new ChannelID();
ChannelID receiverId = new ChannelID();
jobManager = getJobManagerMockBase();
when(jobManager.updateTaskExecutionState(any(TaskExecutionState.class))).thenReturn(false);
when(jobManager.lookupConnectionInfo(Matchers.any(InstanceConnectionInfo.class), Matchers.eq(jid), Matchers.eq(senderId)))
.thenReturn(ConnectionInfoLookupResponse.createReceiverFoundAndReady(receiverId));