@Test
public void updateMergeRequestTest() {

    Response response = target().path("merge-requests/" + encode(request1.getResource().stringValue()))
            .request()
            .put(Entity.entity(groupedModelToString(request1.getModel(), getRDFFormat("jsonld"), transformer), MediaType.APPLICATION_JSON_TYPE));
    verify(requestManager).updateMergeRequest(eq(request1.getResource()), any(MergeRequest.class));
    assertEquals(response.getStatus(), 200);
}