@Test
public void testUpdateTag() throws Exception {

    // Setup:
    Tag tag = tagFactory.createNew(TAG_IRI);
    tag.getModel().add(TAG_IRI, titleIRI, VALUE_FACTORY.createLiteral("New Title"));
    manager.updateVersion(distributedCatalogId, VERSIONED_RDF_RECORD_IRI, tag);
    verify(utilsService).validateVersion(eq(distributedCatalogId), eq(VERSIONED_RDF_RECORD_IRI), eq(TAG_IRI), any(RepositoryConnection.class));
    verify(utilsService).updateObject(eq(tag), any(RepositoryConnection.class));
}