@Test
public void testBrokenEncodingOptions() throws Exception {

  URI animation = getClass().getResource("/synfig-test-animation.sif").toURI();
  Map<String, String> metadata = new HashMap<>();
  List<String> options = new ArrayList<>(0);
  options.add("-t");
  options.add("santa-claus");
  Job job = null;
  try {
    job = animateService.animate(animation, metadata, options);
    logger.error("The test should have never reached this.");
  } catch (Exception e) {
    // we expect this
  }
  Assert.assertNull(job);
}