mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
17 lines
377 B
TypeScript
17 lines
377 B
TypeScript
import { ObjectCacheService } from '../../core/cache/object-cache.service';
|
|
|
|
export function getMockObjectCacheService(): ObjectCacheService {
|
|
return jasmine.createSpyObj('objectCacheService', [
|
|
'add',
|
|
'remove',
|
|
'getByID',
|
|
'getBySelfLink',
|
|
'getRequestHrefBySelfLink',
|
|
'getRequestHrefByUUID',
|
|
'getList',
|
|
'hasById',
|
|
'hasBySelfLink'
|
|
]);
|
|
|
|
}
|