@Test
public void testBackfillCreateWithInvalidEnv() {

  final String component = "quux";
  try {
    CliMain.run(cliContext, "backfill", "create", "-e", "FOO=foo", component, "foo", "2017-01-01", "2017-01-30",
        "1", "-e", "BAR=bar", "--env", "BAZ=baz", "-e", "FOOBAR");
    fail();
  } catch (CliExitException e) {
    assertThat(e.status(), is(ExitStatus.UnknownError));
  }
}