From 916539f216d5797d72f72e5ec54329bd320ab33b Mon Sep 17 00:00:00 2001 From: Sona Markosyan Date: Tue, 8 Feb 2022 22:56:24 +0100 Subject: [PATCH] account details person address validation --- src/test/java/hs/fulda/de/ci/exam/project/AccountTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/hs/fulda/de/ci/exam/project/AccountTest.java b/src/test/java/hs/fulda/de/ci/exam/project/AccountTest.java index 5fef805..419ddc3 100644 --- a/src/test/java/hs/fulda/de/ci/exam/project/AccountTest.java +++ b/src/test/java/hs/fulda/de/ci/exam/project/AccountTest.java @@ -58,7 +58,7 @@ public class AccountTest { @Test @DisplayName("Should Not add Account details when Address is null") - public void shouldThrowRuntimeExceptionWhenAddressIsNull(){ + public void shouldThrowRuntimeExceptionWhenPersonAddressIsNull(){ assertThrows(RuntimeException.class, () -> { account1.addAccountDetails("John", null,"max.mustermann@gmail.com", "0151283290" ); });