@Test public void testUserStringStringString() { testUser = new User("username", "password", "usertype"); if (testUser.getUsername() == "username" && testUser.getPassword() == "password" && testUser.getUsertype() == "usertype") { assertTrue(true); } else assertTrue(false); }
@Test public void testSetUsername() { assertEquals("Set Username is running", testusername, testUser.getUsername()); }
@Test public void testGetUsername() { testUser.setUsername("testuser"); assertEquals("Get Username is running", "testuser", testUser.getUsername()); }