@Test
public void getVersionTest() {

    try (RepositoryConnection conn = repo.getConnection()) {
        Version version = service.getVersion(CATALOG_IRI, VERSIONED_RECORD_IRI, VERSION_IRI, versionFactory, conn);
        assertFalse(version.getModel().isEmpty());
        assertEquals(VERSION_IRI, version.getResource());
    }
}