public void updateProject() {
Project project =
new Project("sample-project", "My Project Update",
ProjectType.Gettext.toString(), "Update project");
IProjectResource projectService =
getClientRequestFactory().createProxy(IProjectResource.class,
createBaseURI(RESOURCE_PATH).resolve("sample-project"));
Response response = projectService.put(project);
assertThat(response.getStatus(), is(Status.OK.getStatusCode()));
ClientResponse<Project> projectResponse = projectService.get();
assertThat(projectResponse.getStatus(), is(Status.OK.getStatusCode()));
Project projectRes = projectResponse.getEntity();