@Test
public void deleteMergeRequestTest() {

    Response response = target().path("merge-requests/" + encode(request1.getResource().stringValue()))
            .request().delete();
    verify(requestManager).deleteMergeRequest(request1.getResource());
    assertEquals(response.getStatus(), 200);
}