// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include #include #include namespace proton { struct DummyDBOwner : IDocumentDBOwner { std::shared_ptr _registry; DummyDBOwner() : _registry(std::make_shared()) {} ~DummyDBOwner() {} bool isInitializing() const override { return false; } uint32_t getDistributionKey() const override { return -1; } std::shared_ptr getDocumentDBReferenceRegistry() const override { return _registry; } }; } // namespace proton