"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModelJsonUnitTestLocalAdapter = void 0;
const Storage_1 = require("../Storage");
/// Class to initialize Local Adpter for model.json unit test. 
/// Having this to test ReferencedEntityDeclaration in model.json which is ReferenceModels.
/// A valid path for a ReferenceModel has to be an absolute path, starting with "http://" or "https://", which means it can't use LocalAdapter
/// However, assuming the path to the ReferenceModel is valid and the file can be loaded. we can use LocalAdapter for some unit tests.
class ModelJsonUnitTestLocalAdapter extends Storage_1.LocalAdapter {
    constructor(root) {
        super(root);
    }
    createCorpusPath(adapterPath) {
        return adapterPath;
    }
}
exports.ModelJsonUnitTestLocalAdapter = ModelJsonUnitTestLocalAdapter;
//# sourceMappingURL=ModelJsonUnitTestLocalAdapter.js.map