@Test
  public void testGetCommandUsage() throws Exception {
    String[] args = new String[2];
    int exitCode;

    args[0] = GET_VERB;
    args[1] = "-help";
    exitCode = executeCommand(args);
    Assert.assertEquals(exitCode, 0);
    Assert.assertTrue(!out.toString().isEmpty());
  }
Invoke Create command help

@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/credentialapi/CredentialUtilTest.java