1234567891011121314151617181920 |
- import static org.junit.Assert.*;
- import org.junit.Test;
- import java.util.ArrayList;
-
- public class PhoneBookTest
- {
- @Test
- public void addEntryTest(){
- PhoneBook newEntry = new PhoneBook();
- newEntry.addEntry("Rachelle","123-4567");
- Entry actual = newEntry.getEntry("Rachelle");
- assertEquals("123-4567",actual.getPhoneNumber());
- }
-
- @Test
- public void hasEntryTest(){
-
- }
- }
|