@Test
 public void updateTeam() {
   Team team = new Team();
   team.setId(1L);
   team.setName("TestTeam");
   team.setNumOfUsers(5L);
   team.setTeamRole(1L);
   team.setUserName("test");
   team.setIdCreator(0L);
   service.saveTeam(team, 1L, 1L);
 }
 /** Save empty team */
 @Test(expected = DataIntegrityViolationException.class)
 public void updateTeam2() {
   Team team = new Team();
   team.setId(1L);
   service.saveTeam(team, 1L, 1L);
 }