blob: 3572e821b4bd99735dc153586f6680510af8d5b5 [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_CONFIG_H_
#define SHILL_MOCK_DHCP_CONFIG_H_
#include <gmock/gmock.h>
#include "shill/dhcp_config.h"
namespace shill {
class MockDHCPConfig : public DHCPConfig {
public:
MockDHCPConfig(ControlInterface *control_interface,
EventDispatcher *dispatcher,
DHCPProvider *provider,
const std::string &device_name,
GLib *glib)
: DHCPConfig(control_interface,
dispatcher,
provider,
device_name,
glib) {}
MOCK_METHOD0(RequestIP, bool());
};
} // namespace shill
#endif // SHILL_MOCK_DHCP_CONFIG_H_