diff --git a/src/test/java/de/joethei/hs/java2/tests/KlausurenServerTest.java b/src/test/java/de/joethei/hs/java2/tests/KlausurenServerTest.java index cde2814..308c6f1 100644 --- a/src/test/java/de/joethei/hs/java2/tests/KlausurenServerTest.java +++ b/src/test/java/de/joethei/hs/java2/tests/KlausurenServerTest.java @@ -25,6 +25,7 @@ public class KlausurenServerTest { @Order(order = 1) public void test() { assertEquals("Hallo Welt", sendRequest("test")); + assertEquals("0", sendRequest("getall")); } @Test(timeout = 120L) @@ -46,6 +47,8 @@ public class KlausurenServerTest { public void get() { assertEquals("1 5, 6, 7, 8", sendRequest("get max@maier")); assertEquals("0", sendRequest("get max@müller")); + assertEquals("0", sendRequest("get")); + assertEquals("0", sendRequest("get max@müller 42")); } @Test(timeout = 500L) @@ -53,6 +56,7 @@ public class KlausurenServerTest { public void del() { assertEquals("0", sendRequest("del max@maier baum")); assertEquals("1 5, 6, 7, 8", sendRequest("del max@maier")); + assertEquals("0", sendRequest("del max@maier")); assertEquals("0", sendRequest("get max@maier")); } @Test(timeout = 2000L)