@Test(expected = IllegalArgumentException.class)
public void addMergeRequestThatAlreadyExistsTest() {

    try (RepositoryConnection conn = repo.getConnection()) {
        manager.addMergeRequest(request1, conn);
    }
}