@Test
public void testAddCommand() {

  final PrefixedJCommander prefixedJCommander = new PrefixedJCommander();
  prefixedJCommander.addCommand("abc", (Object) "hello, world", "a");
  prefixedJCommander.addCommand("def", (Object) "goodbye, world", "b");
  prefixedJCommander.parse("abc");
  Assert.assertEquals(prefixedJCommander.getParsedCommand(), "abc");
}