blob: 2c475222e55d23163cec65cdbdbb01faea823b6c [file] [log] [blame]
// Copyright 2018 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/wifi/mock_wifi_service.h"
namespace shill {
class ControlInterface;
class EventDispatcher;
class Manager;
MockWiFiService::MockWiFiService(Manager* manager,
WiFiProvider* provider,
const std::vector<uint8_t>& ssid,
const std::string& mode,
const std::string& security,
bool hidden_ssid)
: WiFiService(manager, provider, ssid, mode, security, hidden_ssid) {
ON_CALL(*this, GetSupplicantConfigurationParameters())
.WillByDefault(testing::Return(KeyValueStore()));
}
MockWiFiService::~MockWiFiService() = default;
} // namespace shill