blob: 1f5624b7f4c5c600aa1fee5fd66d621e90b533c3 [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/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<MockPendingActivationStore>();
mock_pending_activation_store_ =
static_cast<MockPendingActivationStore*>(pending_activation_store_.get());
}
MockModemInfo::~MockModemInfo() = default;
} // namespace shill