@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 testSetPassword() { assertEquals("Set Password is running", testpassword, testUser.getPassword()); }
@Test public void testGetPassword() { testUser.setPassword("testpassword"); assertEquals("Get Password is running", "testpassword", testUser.getPassword()); }