@Test
public void testAnimate() throws Exception {

  URI animation = getClass().getResource("/synfig-test-animation.sif").toURI();
  Map<String, String> metadata = new HashMap<>();
  metadata.put("episode.title", "Test");
  metadata.put("episode.author", "John Doe");
  metadata.put("series.title", "The Art Of Animation");
  List<String> options = new ArrayList<>(2);
  options.add("-t");
  options.add("ffmpeg");
  Job job = animateService.animate(animation, metadata, options);
  File output = new File(new URI(job.getPayload()));
  Assert.assertTrue(output.isFile());
}