### Question:
Users { public User getUnprotected(Integer id) { return idMap.get(id); } Users(DataSource dataSource); User getUnprotected(Integer id); User getProtected(String name, User requestedBy); User getUnprotected(String name); void delete(User delete, User requestedBy); void addOrChange(User addOrChange, User requestedBy); User[] getUsers(User requestedBy); static String USER_ADMIN; static String ACCESS_ADMIN; }### Answer:
@Test public void testItCanAddUser() throws SQLException { this.addTestUser(); Users users = new Users(dataSource); User addedUser = users.getUnprotected("testuser1"); Assert.assertEquals("testuser1", addedUser.getUsername()); Assert.assertEquals("Test User 1", addedUser.getFullname()); Assert.assertTrue(addedUser.isAdmin()); }