@Test
public void testInProgressCommitPathWithMissingRecord() {

    // Setup:
    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("VersionedRDFRecord " + MISSING_IRI + " could not be found");
    try (RepositoryConnection conn = repo.getConnection()) {
        service.validateInProgressCommit(CATALOG_IRI, MISSING_IRI, IN_PROGRESS_COMMIT_IRI, conn);
    }
}