import { Aquarius } from '../../src/aquarius/Aquarius' import { DDO } from '../../src/ddo/DDO' import DID from '../../src/ocean/DID' const ddoStore: Map = new Map() export default class AquariusMock extends Aquarius { public async getAccessUrl(accessToken: any, payload: any): Promise { return 'http://test/test' } public async storeDDO(ddo: DDO): Promise { ddoStore.set(ddo.id, ddo) return ddo } public async retrieveDDO(did: DID): Promise { return ddoStore.get(did.getDid()) } }