diff --git a/src/test/java/org/bitbiome/commands/HelpCommandTest.java b/src/test/java/org/bitbiome/commands/HelpCommandTest.java new file mode 100644 index 0000000..75006ed --- /dev/null +++ b/src/test/java/org/bitbiome/commands/HelpCommandTest.java @@ -0,0 +1,15 @@ +package org.bitbiome.commands; + +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class HelpCommandTest { + + @Test + public void testHelpCommand() { + String helpMessage = HelpCommand.getHelpMessage(); + assertEquals("Hier ist eine Liste der Commands:\n- help -> Gibt diese Nachricht aus\n- exit/quit -> Beendet das Spiel\n", helpMessage); + } + + +}