@Test
public void getMergeRequestTest() {

    try (RepositoryConnection conn = repo.getConnection()) {
        Optional<MergeRequest> result = manager.getMergeRequest(request1.getResource(), conn);
        assertTrue(result.isPresent());
        assertEquals(request1.getModel(), result.get().getModel());
    }
}