@Test
public void testJarFileMissing() throws IOException {

  try {
    Classpath.main(new String[] { "--jar" });
    fail("expected exit");
  } catch (ExitUtil.ExitException e) {
    assertTrue(stdout.toByteArray().length == 0);
    String strErr = new String(stderr.toByteArray(), UTF8);
    assertTrue(strErr.contains("requires path of jar"));
  }
}