forked from hazza/dspace-angular
angular cli
This commit is contained in:
16
src/app/shared/mocks/object-cache.service.mock.ts
Normal file
16
src/app/shared/mocks/object-cache.service.mock.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { ObjectCacheService } from '../../core/cache/object-cache.service';
|
||||
|
||||
export function getMockObjectCacheService(): ObjectCacheService {
|
||||
return jasmine.createSpyObj('objectCacheService', [
|
||||
'add',
|
||||
'remove',
|
||||
'getByUUID',
|
||||
'getBySelfLink',
|
||||
'getRequestHrefBySelfLink',
|
||||
'getRequestHrefByUUID',
|
||||
'getList',
|
||||
'hasByUUID',
|
||||
'hasBySelfLink'
|
||||
]);
|
||||
|
||||
}
|
Reference in New Issue
Block a user