blob: c8ed71f0ae00956accca94e40dea0f2931db562a [file] [log] [blame] [edit]
// Copyright 2018 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "shill/cellular/mock_modem_info.h"
using testing::NiceMock;
namespace shill {
MockModemInfo::MockModemInfo(ControlInterface* control, Manager* manager)
: ModemInfo(control, manager), mock_pending_activation_store_(nullptr) {
pending_activation_store_ =
std::make_unique<NiceMock<MockPendingActivationStore>>();
mock_pending_activation_store_ =
static_cast<MockPendingActivationStore*>(pending_activation_store_.get());
}
MockModemInfo::~MockModemInfo() = default;
} // namespace shill