123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
-
- import static org.junit.Assert.*;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
- /**
- * The test class PhoneBook1Test.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class PhoneBook1Test
- {
- /**
- * Default constructor for test class PhoneBook1Test
- */
- public PhoneBook1Test()
- {
- }
-
- /**
- * Sets up the test fixture.
- *
- * Called before every test case method.
- */
- @Before
- public void setUp()
- {
- }
-
- /**
- * Tears down the test fixture.
- *
- * Called after every test case method.
- */
- @After
- public void tearDown()
- {
- }
-
- @Test
- public void Test1()
- {
- PhoneBook1 phoneBoo2 = new PhoneBook1();
- phoneBoo2.addNumber("Zebra", "111-222-333");
- }
-
- @Test
- public void Test2()
- {
- PhoneBook1 phoneBoo2 = new PhoneBook1();
- phoneBoo2.addNumber("Zebra", "111-222-333");
- }
- }
-
|