@Test
public void testCreateHomogeneousJobNoShards() throws Exception {
JobConfiguration job = makeJob();
job.setInstanceCount(0);
job.unsetInstanceCount();
expectAuth(ROLE, true);
control.replay();
assertResponse(INVALID_REQUEST, thrift.createJob(job, DEFAULT_LOCK, SESSION));