diff --git a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/User.java b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/User.java index 3c1fc87..710e097 100644 --- a/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/User.java +++ b/projjpn/src/main/java/de/hs_fulda/ciip/projjpn/User.java @@ -32,7 +32,7 @@ public class User { public String getNickName() { return nickName; } - public String geteMail() { + public String getEMail() { return eMail; } public Birthdate getBirthdate() { 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 92669c7..110d7ad 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 @@ -146,7 +146,7 @@ public class CustomersTest extends TestCase { boolean correctFirstName = "Mia".equals(gotUser.getFirstName()); boolean correctLastName = "Muster".equals(gotUser.getLastName()); boolean correctNickName = "harley".equals(gotUser.getNickName()); - boolean correctEMail = "mia@muster.de".equals(gotUser.geteMail()); + boolean correctEMail = "mia@muster.de".equals(gotUser.getEMail()); boolean correctBirthdate = birthdate.toString().equals(gotUser.birthdate.toString()); // Then