@Test
public void canGetInputOutputAssetsFromJob() throws Exception {
String name = testJobPrefix + "canGetInputOutputAssetsFromJob";
int priority = 3;
JobInfo actualJob = service.create(Job.create().setName(name)
.setPriority(priority).addInputMediaAsset(assetInfo.getId())
.addTaskCreator(getTaskCreator(0)));
ListResult<AssetInfo> inputs = service.list(Asset.list(actualJob
.getInputAssetsLink()));
ListResult<AssetInfo> outputs = service.list(Asset.list(actualJob
.getOutputAssetsLink()));
assertEquals(1, inputs.size());
assertEquals(assetInfo.getId(), inputs.get(0).getId());