mock_dhcp_proxy.h revision 675d0b0f04936050a357722f52dc078a3ab671d8
1// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_DHCP_MOCK_DHCP_PROXY_H_
6#define SHILL_DHCP_MOCK_DHCP_PROXY_H_
7
8#include <string>
9
10#include <base/macros.h>
11#include <gmock/gmock.h>
12
13#include "shill/dhcp/dhcp_proxy_interface.h"
14
15namespace shill {
16
17class MockDHCPProxy : public DHCPProxyInterface {
18 public:
19  MockDHCPProxy();
20  ~MockDHCPProxy() override;
21
22  MOCK_METHOD1(Rebind, void(const std::string &interface));
23  MOCK_METHOD1(Release, void(const std::string &interface));
24
25 private:
26  DISALLOW_COPY_AND_ASSIGN(MockDHCPProxy);
27};
28
29}  // namespace shill
30
31#endif  // SHILL_DHCP_MOCK_DHCP_PROXY_H_
32