Helm { public static HelmTest test(String release) { return new HelmTest(release); } private  Helm(); static HelmCommand.Template template(); static HelmCreate create(String name); static HelmDelete delete(String name); static HelmDependencyBuild dependencyBuild(String chart); static HelmDependencyList dependencyList(String chart); static HelmDependencyUpdate dependencyUpdate(String chart); static HelmFetch fetch(String... charts); static HelmGet get(String release); static HelmGetHooks getHooks(String release); static HelmGetManifest getManifest(String release); static HelmGetValues getValues(String release); static HelmHistory history(String release); static HelmInit init(); static HelmInspect inspect(String chart); static HelmInspect inspectChart(String chart); static HelmInspect inspectChart(File chart); static HelmInspect inspectChart(URL chart); static HelmInspect inspectValues(String chart); static HelmInstall install(String chart); static HelmInstall install(File chart); static HelmInstall install(File parentDir, String chartName); static HelmLint lint(String chart); static HelmLint lint(File chart); static HelmLint lint(File parentDir, String chartName); static HelmList list(); static HelmList list(String filter); static HelmRollback rollback(String release, String revision); static HelmStatus status(String release); static HelmTest test(String release); static HelmUpgrade upgrade(String release, String chart); static HelmUpgrade upgrade(String release, File chart);  }
@Test public void shouldCreateBasicCommand() { HelmTest command = Helm.test("foo"); assertCommand(command, "test", "foo"); }
@Test public void shouldAddCleanupOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.cleanup(); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--cleanup"); }
@Test public void shouldAddTimeoutOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.timeout(19); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--timeout", "19"); }
@Test public void shouldAddTlsOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.tls(); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--tls"); }
@Test public void shouldAddTlsCaCertOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.tlsCaCert("bar"); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--tls-ca-cert", "bar"); }
@Test public void shouldAddTlsCertOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.tlsCert("bar"); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--tls-cert", "bar"); }
@Test public void shouldAddTlsKeyOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.tlsKey("bar"); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--tls-key", "bar"); }
@Test public void shouldAddTlsVerifyOption() { HelmTest command = Helm.test("foo"); HelmTest copy = command.tlsVerify(); assertThat(copy, is(not(sameInstance(command)))); assertCommand(copy, "test", "foo", "--tls-verify"); }