Explorar el Código

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

Luis Romero hace 6 años
padre
commit
26b9bc9587
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      src/test/java/com/zipcodewilmington/phonebook/PersonTest.java

+ 2
- 0
src/test/java/com/zipcodewilmington/phonebook/PersonTest.java Ver fichero

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