### Question:
FootballTeamRest { @PUT @Path("{id}") @Consumes({MediaType.APPLICATION_JSON}) @Transactional(Transactional.TxType.REQUIRES_NEW) public void edit( @PathParam("id") String id, Team team) { teamService.edit(id, team); }  @POST @Consumes({MediaType.APPLICATION_JSON}) @Transactional(Transactional.TxType.REQUIRES_NEW) void create(Team team); @PUT @Path("{id}") @Consumes({MediaType.APPLICATION_JSON}) @Transactional(Transactional.TxType.REQUIRES_NEW) void edit(
            @PathParam("id") String id, Team team); @DELETE @Path("{id}") @Transactional(Transactional.TxType.REQUIRES_NEW) void remove(
            @PathParam("id") String id); @GET @Path("{id}") @Produces({MediaType.APPLICATION_JSON}) Team find(
            @PathParam("id") String id); @GET @Produces({MediaType.APPLICATION_JSON}) List<Team> findAll();  }### Answer:
@Test @InSequence(3) public void testEdit() { System.out.println("edit"); Team team = target.path(teamId).request().get( new GenericTypeTeamImpl()); team.setName("New_Winner_Team"); Response response = target.path(teamId).request().put(Entity. entity(team, MediaType.APPLICATION_JSON_TYPE)); assertThat(response.getStatus(), is(Response.Status.NO_CONTENT. getStatusCode())); }