blob: c4290a46dafaf03be33b16e34892c84aa8aac41a [file] [log] [blame]
Jason Glasgow14521872012-05-07 19:12:15 -04001// Copyright (c) 2012 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_cellular_service.h"
6
Thieu Le247416e2014-02-25 18:19:53 -08007#include <chromeos/dbus/service_constants.h>
8
9using testing::ReturnRef;
10
Jason Glasgow14521872012-05-07 19:12:15 -040011namespace shill {
12
Prathmesh Prabhu0d36b4f2013-04-01 11:45:54 -070013MockCellularService::MockCellularService(ModemInfo *modem_info,
Jason Glasgow14521872012-05-07 19:12:15 -040014 const CellularRefPtr &device)
Thieu Le247416e2014-02-25 18:19:53 -080015 : CellularService(modem_info, device),
16 default_activation_state_(kActivationStateUnknown) {
17 ON_CALL(*this, activation_state())
18 .WillByDefault(ReturnRef(default_activation_state_));
19}
Jason Glasgow14521872012-05-07 19:12:15 -040020
21MockCellularService::~MockCellularService() {}
22
23} // namespace shill