@Test
public void testGenClientLibWithoutBuildSystem() throws Exception {

  tool.execute(
      new String[]{GenClientLibAction.NAME, option(EndpointsToolAction.OPTION_LANGUAGE_SHORT),
      "java", option(EndpointsToolAction.OPTION_OUTPUT_DIR_SHORT), "outputDir",
      "discoveryDocPath"});
  assertFalse(usagePrinted);
  assertEquals("java", language);
  assertEquals("outputDir", outputDirPath);
  assertEquals("discoveryDocPath", discoveryDocPath);
  assertEquals(null, buildSystem);
}