blob: 415410322a920b4ebcdd87184b4a760becb52a12 [file] [log] [blame]
Darin Petkov77cb6812011-08-15 16:19:41 -07001// 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_MOCK_DHCP_PROVIDER_H_
6#define SHILL_MOCK_DHCP_PROVIDER_H_
7
8#include <gmock/gmock.h>
9
10#include "shill/dhcp_config.h"
11#include "shill/dhcp_provider.h"
12
13namespace shill {
14
15class MockDHCPProvider : public DHCPProvider {
16 public:
17 MOCK_METHOD1(CreateConfig, DHCPConfigRefPtr(const std::string &device_name));
18};
19
20} // namespace shill
21
22#endif // SHILL_MOCK_DHCP_PROVIDER_H_