@Test
public void testProcessById() throws ServiceRegistryException {

  String[] mp = createAndAddMediaPackagesSimple(2, 2, 2, Opt.<String>none());
  //This is checking the logic of process(), so we need to have terminal phase jobs
  List<Job> jobs = createIdAndVersionExpectation(mp[1], 0, 2);
  EasyMock.replay(sr);
  for (Job j : jobs) {
    Assert.assertEquals("OK", tsamjp.process(j));
  }
}