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