@Before public void setUp() throws Exception { testUser = new User(); testUser.setPassword(testpassword); testUser.setUsername(testusername); testUser.setUsertype(testusertype); }
@Test public void testGetPassword() { testUser.setPassword("testpassword"); assertEquals("Get Password is running", "testpassword", testUser.getPassword()); }