@Test(expected = RuntimeException.class)
public void testInvalidInterpreter() {

  PartitionSpec spec =
      new PartitionSpec("test", Collections.emptyList(), Interpreter.STATIC, "static", 0);
  spec.getFormattedTime("will fail");
}