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