예제 #1
0
 @Test
 public void testGetUserByID() {
   UserCollection uc = new UserCollection();
   assertEquals("Chris", uc.get("Chris").getId());
 }
예제 #2
0
 @Test
 public void testValidateStudents() {
   UserCollection uc = new UserCollection();
   assertTrue(uc.validateStudent("Chris", "1"));
 }