@Test
public void acceptMergeRequestTest() {

    Response response = target().path("merge-requests/" + encode(request1.getResource().stringValue()))
            .request().post(Entity.entity("", MediaType.TEXT_PLAIN));
    verify(requestManager).acceptMergeRequest(request1.getResource(), user);
    assertEquals(response.getStatus(), 200);
}