blob: b39113b7cca13b25a2556074494af8f222493900 [file] [log] [blame]
// Copyright (c) 2012 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/mock_mm1_modem_simple_proxy.h"
#include "shill/testing.h"
using testing::_;
namespace shill {
namespace mm1 {
MockModemSimpleProxy::MockModemSimpleProxy() {
ON_CALL(*this, Connect(_, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<1>());
ON_CALL(*this, Disconnect(_, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<1>());
ON_CALL(*this, GetStatus(_, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<0>());
}
MockModemSimpleProxy::~MockModemSimpleProxy() {}
} // namespace mm1
} // namespace shill