Browse Source

Added: javadoc for CustomersTest

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
bfe9534bdd
  1. 6
      projjpn/src/test/java/de/hs_fulda/ciip/projjpn/CustomersTest.java

6
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();

Loading…
Cancel
Save