HelmInstall extends HelmCommand<HelmInstall> implements CLI.WithCerts<HelmInstall>,
                   CLI.WithTLS<HelmInstall>,
                   CLI.WithRepo<HelmInstall> { public HelmInstall name(String name) { return withFlags(Argument.of("--name", name)); } HelmInstall(File chart);   HelmInstall(String chart);   HelmInstall(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env); HelmInstall development(); HelmInstall dryRun(); HelmInstall name(String name); HelmInstall nameTemplate(String template); HelmInstall namespace(String namespace); HelmInstall noHooks(); HelmInstall replace(); HelmInstall repo(String repo); HelmInstall set(String... values); HelmInstall timeout(int seconds); HelmInstall values(String valuesFile); HelmInstall values(File valuesFile); HelmInstall version(String version); HelmInstall waitForK8s(); HelmInstall waitForK8s(int seconds); @Override HelmInstall newInstance(String helm, Arguments arguments, Arguments flags, EnvironmentVariables env);  }
@Test public void shouldAddNameOption() { HelmInstall command = Helm.install("foo"); HelmInstall copy = command.name("bar"); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "install", "foo", "--name", "bar"); }