| // Copyright (c) 2011 The Chromium OS 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 SHILL_MOCK_DHCP_PROXY_H_ |
| #define SHILL_MOCK_DHCP_PROXY_H_ |
| |
| #include <gmock/gmock.h> |
| |
| #include "shill/dhcp_proxy_interface.h" |
| |
| namespace shill { |
| |
| class MockDHCPProxy : public DHCPProxyInterface { |
| public: |
| MOCK_METHOD1(DoRebind, void(const std::string &interface)); |
| MOCK_METHOD1(DoRelease, void(const std::string &interface)); |
| }; |
| |
| } // namespace shill |
| |
| #endif // SHILL_MOCK_DHCP_PROXY_H_ |