blob: 9045c4166b1d7bd5940d594ca7085d6341bbbc3c [file] [log] [blame]
// Copyright (c) 2011 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_modem_proxy.h"
#include "shill/testing.h"
using testing::_;
namespace shill {
MockModemProxy::MockModemProxy() {
ON_CALL(*this, Enable(_, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<1>());
ON_CALL(*this, Disconnect(_, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<0>());
ON_CALL(*this, GetModemInfo(_, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<0>());
}
MockModemProxy::~MockModemProxy() {}
} // namespace shill