blob: 91a77caa8cf6fdd807aeffaa821cef5d27e1b51b [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.
#include "shill/mock_ipconfig.h"
using testing::Invoke;
namespace shill {
MockIPConfig::MockIPConfig(ControlInterface* control_interface,
const std::string& device_name)
: IPConfig(control_interface, device_name) {
ON_CALL(*this, properties())
.WillByDefault(Invoke(this, &MockIPConfig::real_properties));
}
MockIPConfig::~MockIPConfig() {}
} // namespace shill