|
@@ -33,6 +33,7 @@ public class PersonTest {
|
33
|
33
|
Assert.assertEquals(expected, actual);
|
34
|
34
|
}
|
35
|
35
|
|
|
36
|
+ @Test
|
36
|
37
|
public void addPhoneNumbersTest() {
|
37
|
38
|
this.person = new Person("John Smith", "(000) 000-0000");
|
38
|
39
|
String expectedPhoneNumberToAdd1 = "(111) 111-1111";
|
|
@@ -48,6 +49,7 @@ public class PersonTest {
|
48
|
49
|
|
49
|
50
|
}
|
50
|
51
|
|
|
52
|
+ @Test
|
51
|
53
|
public void removePhoneNumbersTest() {
|
52
|
54
|
this.person = new Person("John Smith", "(000) 000-0000", "(111) 111-1111", "(222) 222-2222");
|
53
|
55
|
String expectedPhoneNumberToDelete1 = "(111) 111-1111";
|