@Test public void testToString() { assertEquals( "User{" + homer.id + ", homer, simpson, secret, [email protected]}", homer.toString()); }
@Test public void testToString() { assertEquals( "User{" + user.userID + ", Rachel, Kavanagh, 24, female, student}", user.toString()); }
@Test public void shouldHaveAName() { assertEquals("firstUser", firstUser.toString()); }