| // 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_mm1_modem_modem3gpp_proxy.h" |
| |
| #include "shill/testing.h" |
| |
| using testing::_; |
| |
| namespace shill { |
| namespace mm1 { |
| |
| MockModemModem3gppProxy::MockModemModem3gppProxy() { |
| ON_CALL(*this, Register(_, _, _, _)) |
| .WillByDefault(SetOperationFailedInArgumentAndWarn<1>()); |
| ON_CALL(*this, Scan(_, _, _)) |
| .WillByDefault(SetOperationFailedInArgumentAndWarn<0>()); |
| } |
| |
| MockModemModem3gppProxy::~MockModemModem3gppProxy() = default; |
| |
| } // namespace mm1 |
| } // namespace shill |