Search in sources :

Example 1 with EvalCommand

use of ml.duncte123.skybot.commands.essentials.eval.EvalCommand in project SkyBot by duncte123.

the class SkybotCommandTest method testCommandGetterForAlias.

@Test
public void testCommandGetterForAlias() {
    String key = "evaluate";
    EvalCommand value = new EvalCommand();
    assertEquals("Retrieved command does not match stored command for same key (Alias)", value, manager.getCommand(key));
}
Also used : EvalCommand(ml.duncte123.skybot.commands.essentials.eval.EvalCommand) Test(org.junit.Test)

Aggregations

EvalCommand (ml.duncte123.skybot.commands.essentials.eval.EvalCommand)1 Test (org.junit.Test)1