@Test
public void testDeleteRecord() {

    User user = userFactory.createNew(USER_IRI);
    manager.deleteRecord(user, RECORD_IRI, Record.class);
    verify(recordService).delete(eq(RECORD_IRI), eq(user), any(RepositoryConnection.class));
}