Пример #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"));
 }