|
@@ -57,7 +57,7 @@ public class PersonTest {
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
- void getCertifiedYearOfBirthTest() {
|
|
|
+ void getCertifiedYearOfDeathTest() {
|
|
|
assertNull(person.getCertifiedYearOfBirth());
|
|
|
}
|
|
|
|
|
@@ -67,4 +67,16 @@ public class PersonTest {
|
|
|
person.setCertifiedYearOfBirth(certifiedYearOfBirth);
|
|
|
assertEquals(certifiedYearOfBirth, person.getCertifiedYearOfBirth());
|
|
|
}
|
|
|
+
|
|
|
+ @Test
|
|
|
+ void getCertifiedYearOfBirthTest() {
|
|
|
+ assertNull(person.getCertifiedYearOfBirth());
|
|
|
+ }
|
|
|
+
|
|
|
+ @Test
|
|
|
+ void setCertifiedYearOfDeathTest() {
|
|
|
+ String certifiedYearOfDeath = GetRandomString();
|
|
|
+ person.setCertifiedYearOfDeath(certifiedYearOfDeath);
|
|
|
+ assertEquals(certifiedYearOfDeath, person.getCertifiedYearOfDeath());
|
|
|
+ }
|
|
|
}
|