@Test
public void acceptMergeRequestWithNoTargetTest() {

    // Setup
    request1.removeProperty(TARGET_BRANCH_1_IRI, VALUE_FACTORY.createIRI(MergeRequest.targetBranch_IRI));
    thrown.expect(IllegalArgumentException.class);
    try (RepositoryConnection conn = repo.getConnection()) {
        manager.acceptMergeRequest(request1.getResource(), user1, conn);
    }
    verify(versioningManager, never()).merge(any(Resource.class), any(Resource.class), any(Resource.class), any(Resource.class), any(User.class), any(), any());
}