@@ -0,0 +1,1861 @@
+package de.tse.simplerestfacade;%0A%0Aimport javax.ws.rs.Consumes;%0Aimport javax.ws.rs.PUT;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.core.MediaType;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport de.tse.simplerestfacade.data.Person;%0A%0Apublic class PutTest extends AbstractIntegrationTest %7B%0A%0A    public static class TestPustImpl implements TestPutInterface %7B%0A%0A        @Override public Person updatePerson(final Person person) %7B%0A            person.setId(person.getId() + 1);%0A            person.setFirstname(%22UPDATED_%22 + person.getFirstname());%0A            person.setLastname(%22UPDATED_%22 + person.getLastname());%0A            person.setAge(person.getAge() + 1);%0A            return person;%0A        %7D%0A    %7D%0A    %0A    @Path(%22updatetest%22)%0A    @Consumes(MediaType.APPLICATION_XML)%0A    public static interface TestPutInterface %7B%0A%0A        @PUT%0A        @Path(%22/update%22)%0A        @Produces(MediaType.APPLICATION_XML)%0A        Person updatePerson(Person person);%0A    %7D%0A    %0A    @Override%0A    protected Class%3C?%3E%5B%5D availableServerSideServices() %7B%0A        return new Class%5B%5D %7B TestPustImpl.class %7D;%0A    %7D%0A    %0A    @Test%0A    public void testPut() %7B%0A        %0A        TestPutInterface service = asRestClient(TestPutInterface.class, MediaType.APPLICATION_XML);%0A        %0A        Person person = new Person();%0A        person.setId(1);%0A        person.setFirstname(%22First%22);%0A        person.setLastname(%22Last%22);%0A        person.setAge(100);%0A        %0A        Person updatedPerson = service.updatePerson(person);%0A        Assert.assertNotNull(updatedPerson);%0A        %0A        Assert.assertEquals((Integer) 2, updatedPerson.getId());%0A        Assert.assertEquals(%22UPDATED_First%22, updatedPerson.getFirstname());%0A        Assert.assertEquals(%22UPDATED_Last%22, updatedPerson.getLastname());%0A        Assert.assertEquals((Integer) 101, updatedPerson.getAge());%0A    %7D%0A%7D%0A

Add Put Test