blob: 415410322a920b4ebcdd87184b4a760becb52a12 [file] [log] [blame]
// 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_PROVIDER_H_
#define SHILL_MOCK_DHCP_PROVIDER_H_
#include <gmock/gmock.h>
#include "shill/dhcp_config.h"
#include "shill/dhcp_provider.h"
namespace shill {
class MockDHCPProvider : public DHCPProvider {
public:
MOCK_METHOD1(CreateConfig, DHCPConfigRefPtr(const std::string &device_name));
};
} // namespace shill
#endif // SHILL_MOCK_DHCP_PROVIDER_H_