// Tests that a populated job (with a couple of shards) generates a reasonable
// job detail.
public void testGetJobDetail_populated() throws Exception {
ShardedJobService jobService = ShardedJobServiceFactory.getShardedJobService();
ShardedJobSettings settings = new ShardedJobSettings();
ShardedJobController<TestWorkerTask, WorkerResult<Integer>> controller =
new DummyWorkerController("Namey");
TestWorkerTask three = new TestWorkerTask(0, 3, null);
TestWorkerTask two = new TestWorkerTask(1, 2, null);
TestWorkerTask one = new TestWorkerTask(0, 1, three);