@Test
public void testGet() throws Exception {

	WebTarget target = client.target(Main.uri + "u1");

	Resource resource = target.request(MediaType.APPLICATION_JSON).get(Resource.class);
	assertEquals(1, resource.getContents().size());

	EObject u1 = resource.getContents().get(0);
	assertEquals("User", u1.eClass().getName());
	assertEquals("u1", u1.eGet(u1.eClass().getEStructuralFeature("name")));
}