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