| assertEquals(0, count);
job = client.reserve(0);
assertNull(job);
// kick something
count = client.kick(1);
assertEquals(1, count);
job = client.reserve(0);
assertNotNull(job);
assertEquals(jobId, job.getJobId());
assertEquals(srcString, new String(job.getData()));
|