@Test
public void getInProgressCommitWithPathWithoutRecordSetTest() {

    // Setup:
    thrown.expect(IllegalStateException.class);
    thrown.expectMessage("Record was not set on InProgressCommit " + IN_PROGRESS_COMMIT_NO_RECORD_IRI);
    try (RepositoryConnection conn = repo.getConnection()) {
        service.getInProgressCommit(CATALOG_IRI, VERSIONED_RDF_RECORD_IRI, IN_PROGRESS_COMMIT_NO_RECORD_IRI, conn);
    }
}