@Test
 public void testTokenAndOptionAndPassword() {
   assertTrue(
       shell.config(
           "--fake",
           "-tc",
           PasswordToken.class.getCanonicalName(),
           "-l",
           "password=foo",
           "-p",
           "bar"));
   assertTrue(output.get().contains(ParameterException.class.getCanonicalName()));
 }
 @Test
 public void testToken() {
   assertTrue(shell.config("--fake", "-tc", PasswordToken.class.getCanonicalName()));
   assertTrue(output.get().contains(ParameterException.class.getCanonicalName()));
 }
 @Test
 public void testHelp() {
   assertTrue(shell.config("--help"));
   assertTrue("Did not print usage", output.get().startsWith("Usage"));
 }
 @Test
 public void testBadArg() {
   assertTrue(shell.config("--bogus"));
   assertTrue("Did not print usage", output.get().startsWith("Usage"));
 }
 @After
 public void teardown() throws Exception {
   shell.shutdown();
   output.clear();
   System.setOut(out);
 }