### Question:
SystemServiceImpl implements SystemService { public void updateSystem(DJSystem system) { systemDao.update(system); }  void setSystemDao(SystemDao systemDao); List<DJSystem> findRolesSortBySystem(); List<DJSystem> findUsersSortBySystem(); List<DJSystem> findResourcesSortBySystem(); List<DJSystem> findMenusSortBySystem(); void insertSystem(DJSystem system); DJSystem findSystemBySystemId(Integer systemId); void updateSystem(DJSystem system);  }### Answer:
@Test public void updateSystem() { DJSystem system = new DJSystem(); system.id=1; system.description="desc"; system.operator="mon"; system.name="systenName"; DJUser user = new DJUser(); user.email="emial"; Set<DJUser> users= new HashSet<DJUser>(); users.add(user); system.users=users; systemService.updateSystem(system); }