}
private void generalTestPost(int status) {
Entity<String> entity = Entity.entity("entity", MediaType.WILDCARD_TYPE);
WebTarget target = target("resource").path(Integer.toString(status));
SyncInvoker sync = target.request();
Response response = sync.post(entity, Response.class);
Assert.assertEquals(status, response.getStatus());
Assert.assertEquals("entity", response.readEntity(String.class));
}