Guest User

Untitled

a guest
Jun 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. public void testEqualsWithSameName(){
  2. Amigo amigo = new Amigo("Ricardo", new GregorianCalendar());
  3. Amigo outro = new Amigo("Ricardo", new GregorianCalendar(2009, 12, 12));
  4. assertTrue(amigo.equals(outro));
  5. }
Add Comment
Please, Sign In to add comment