blob: 91a77caa8cf6fdd807aeffaa821cef5d27e1b51b [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
Paul Stewart1e006c62015-06-16 12:29:06 -070011MockIPConfig::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