@Test public void testDisableGoogleCredentials() throws Exception { final CliParser parser = new CliParser( toArray(singleEndpointArgs, "--google-credentials=false")); assertFalse(parser.getNamespace().getBoolean("google_credentials")); }
public Namespace getNamespace() { return options; }
CliParser { public Namespace getNamespace() { return options; } }
CliParser { public Namespace getNamespace() { return options; } CliParser(final String... args); }
CliParser { public Namespace getNamespace() { return options; } CliParser(final String... args); List<Target> getTargets(); String getUsername(); boolean getJson(); Namespace getNamespace(); CliCommand getCommand(); LoggingConfig getLoggingConfig(); }
CliParser { public Namespace getNamespace() { return options; } CliParser(final String... args); List<Target> getTargets(); String getUsername(); boolean getJson(); Namespace getNamespace(); CliCommand getCommand(); LoggingConfig getLoggingConfig();  }