public class UserTest extends ModelTest {
@Test
public void equals() {
User user1 = new User();
user1.setUsername("user1");
User user2 = new User();
user2.setUsername("user2");
User user3 = new User();
user3.setUsername("user1");
assertFalse(user1.equals(user2));
assertEquals(user1, user3);
}