Browse Source

unittest: Added unit test for the quit/exit command

remotes/origin/locations
David Hermann 2 years ago
parent
commit
59a36a66a6
  1. 15
      src/test/java/org/bitbiome/commands/QuitCommandTest.java

15
src/test/java/org/bitbiome/commands/QuitCommandTest.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 QuitCommandTest {
@Test
public void testQuitCommand() {
assertEquals("You quitted!", QuitCommand.getQuitMessage());
}
}
Loading…
Cancel
Save