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