### Question:
UserServiceImpl implements UserService { public void insertUser(DJUser user) { userDao.insert(user); }  void setUserDao(UserDao userDao); void setSystemDao(SystemDao systemDao); java.util.List<DJResource> findCanAccressResourcesOfCerrentSystemAndUser(Integer userId, Integer systemId); java.util.List<DJMenu> findCanAccressMenusOfCerrentSystemAndUser(Integer userId, Integer systemId); java.util.List<DJRole> findHasAuthOfUser(Integer userId, Integer systemId); DJUser findUserByUserId(Integer userId); boolean findUserIsDel(Integer userId, Integer systemId); void insertUser(DJUser user); void updateUser(DJUser user);  }### Answer:
@Test public void testInsertUser() throws Exception { DJUser user = new DJUser(); user.email = "emial"; DJSystem system = new DJSystem(); system.id = 1; user.system = system; DJRole role = new DJRole(); role.id=2; List roles = new ArrayList(); roles.add(role); userService.insertUser(user); }