blob: 923b7932a4ad7dd7f42574262e997974ad4d869c [file] [log] [blame]
Darin Petkovef34f182011-08-26 14:14:40 -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#include "shill/mock_ipconfig.h"
6
Thieu Le03026662013-04-04 10:45:11 -07007using testing::Invoke;
8
Darin Petkovef34f182011-08-26 14:14:40 -07009namespace shill {
10
11MockIPConfig::MockIPConfig(ControlInterface *control_interface,
12 const std::string &device_name)
Thieu Le03026662013-04-04 10:45:11 -070013 : IPConfig(control_interface, device_name) {
14 ON_CALL(*this, properties())
15 .WillByDefault(Invoke(this, &MockIPConfig::real_properties));
16}
Darin Petkovef34f182011-08-26 14:14:40 -070017
18MockIPConfig::~MockIPConfig() {}
19
20} // namespace shill