From bfe9534bdd0932cf6c15919ffd2a5ed1ab75b638 Mon Sep 17 00:00:00 2001 From: Maxim Volkov Date: Thu, 17 Feb 2022 22:48:30 +0100 Subject: [PATCH] Added: javadoc for CustomersTest --- .../test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java b/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java index 3700e6a..6dc92c3 100644 --- a/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java +++ b/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java @@ -16,6 +16,9 @@ public class CustomersTest extends TestCase { assertTrue(nicknameIsAvailable); } + /** + * Register a user only when the given nickname is available. + */ public void test_nicknameIsTaken() { // Given Customers customers = new Customers(); @@ -32,6 +35,9 @@ public class CustomersTest extends TestCase { assertFalse(nicknameIsTaken); } + /** + * Register a single user and check whether it worked. + */ public void test_registerSingleUser() { // Given Customers customers = new Customers();