@Test
public void testDeleteVersionedRecord() {

    User user = userFactory.createNew(USER_IRI);
    manager.deleteRecord(user, VERSIONED_RECORD_IRI, VersionedRecord.class);
    verify(versionedRecordService).delete(eq(VERSIONED_RECORD_IRI), eq(user), any(RepositoryConnection.class));
}