Search in sources :

Example 1 with HelpCommand

use of ml.duncte123.skybot.commands.uncategorized.HelpCommand in project SkyBot by duncte123.

the class SkybotCommandTest method testCommandGetterForName.

@Test
public void testCommandGetterForName() {
    String key = "help";
    HelpCommand value = new HelpCommand();
    assertEquals("Retrieved command does not match stored command for same key (Name)", value, manager.getCommand(key));
}
Also used : HelpCommand(ml.duncte123.skybot.commands.uncategorized.HelpCommand) Test(org.junit.Test)

Aggregations

HelpCommand (ml.duncte123.skybot.commands.uncategorized.HelpCommand)1 Test (org.junit.Test)1