@Test
public void testCompany() throws Exception
{
ResteasyClient client = new ResteasyClientBuilder().build();
client.register(PersonConverter.class);
client.register(CompanyConverter.class);
MyClient proxy = ProxyBuilder.builder(MyClient.class, client.target(generateBaseUrl())).build();
Company company = new Company("name");
proxy.putCompany(company);
client.close();