Browse Source

Finished everything except display() in Part I, fixed @Test's missing in PersonTest

Luis Romero 6 years ago
parent
commit
26b9bc9587
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/test/java/com/zipcodewilmington/phonebook/PersonTest.java

+ 2
- 0
src/test/java/com/zipcodewilmington/phonebook/PersonTest.java View File

@@ -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";