final Long messageJobId = resultEndpoint.getReceivedExchanges().get(0).getIn().getHeader(Headers.JOB_ID, Long.class);
assertNotNull("Job ID in message", messageJobId);
assertEquals("Message Job ID equals", jobId, messageJobId.longValue());
final Job job = reader.reserve(0);
assertNull("Beanstalk client has no message", job);
final Job buried = reader.peekBuried();
assertNotNull("Job in buried", buried);
assertEquals("Buried job id", jobId, buried.getJobId());
}