// Copyright 2015 The Weave Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef LIBWEAVE_INCLUDE_WEAVE_PROVIDER_TEST_MOCK_DNS_SERVICE_DISCOVERY_H_ #define LIBWEAVE_INCLUDE_WEAVE_PROVIDER_TEST_MOCK_DNS_SERVICE_DISCOVERY_H_ #include #include #include #include namespace weave { namespace provider { namespace test { class MockDnsServiceDiscovery : public DnsServiceDiscovery { public: MOCK_METHOD3(PublishService, void(const std::string&, uint16_t, const std::vector&)); MOCK_METHOD1(StopPublishing, void(const std::string&)); }; } // namespace test } // namespace provider } // namespace weave #endif // LIBWEAVE_INCLUDE_WEAVE_PROVIDER_TEST_MOCK_DNS_SERVICE_DISCOVERY_H_