@Test
public void testProcessByIdAndVersion() throws NotFoundException, ServiceRegistryException {

  String[] mp = createAndAddMediaPackagesSimple(2, 2, 2, Opt.<String>none());
  //This is a terminal query, so we need terminal expectations;
  List<Job> jobs = createIdAndVersionExpectation(mp[1], 1, 1);
  EasyMock.replay(sr);
  for (Job j : jobs) {
    Assert.assertEquals("OK", tsamjp.process(j));
  }
}