"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const internal_1 = require("../../../internal");
const mocks_1 = require("../../../testUtils/mocks");
describe('DefaultPortfolio class', () => {
    test('should extend Portfolio', () => {
        expect(internal_1.DefaultPortfolio.prototype instanceof internal_1.Portfolio).toBe(true);
    });
    let context;
    beforeAll(() => {
        mocks_1.dsMockUtils.initMocks();
    });
    beforeEach(() => {
        context = mocks_1.dsMockUtils.getContextInstance();
    });
    afterEach(() => {
        mocks_1.dsMockUtils.reset();
    });
    afterAll(() => {
        mocks_1.dsMockUtils.cleanup();
    });
    describe('exists', () => {
        test('should return true', () => {
            const portfolio = new internal_1.DefaultPortfolio({ did: 'someDid' }, context);
            return expect(portfolio.exists()).resolves.toBe(true);
        });
    });
});
//# sourceMappingURL=DefaultPortfolio.js.map