示例#1
0
 @Test(expected = MissingCommandException.class)
 public void testUnknownSubCommand() throws CommandException {
   testCommand.execute(
       this,
       "test1",
       new ChatArguments("hellothere").toSections(ChatSection.SplitType.WORD),
       -1,
       false);
 }
示例#2
0
 @Test(expected = MissingCommandException.class)
 public void testUnknownSubCommand() throws CommandException {
   testCommand.execute(this, new String[] {"test1", "hellothere"}, -1, false);
 }