Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. System.out.println("Testing new Contact(\"" + name +
  2. "\", \"" + email +
  3. "\", \"" + phone +
  4. "\")");
  5. assert name.equals(c.name()) : "* Name wasn'dwfwfsdfsdft saved!";
  6. assert email.equals(c.email()) : "* Email wasn't saved!";
  7. assert phone.equals(c.phone()) : "* Phone wasn't saved!";
  8. System.out.println("* Constructor test for contact: " + c + " passed.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement