blob: d18fde0e49de5b284577ff3005e94322dac2a537 [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_sim_proxy.h"
#include "shill/testing.h"
using testing::_;
namespace shill {
namespace mm1 {
MockSimProxy::MockSimProxy() {
ON_CALL(*this, SendPin(_, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<1>());
ON_CALL(*this, SendPuk(_, _, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<2>());
ON_CALL(*this, EnablePin(_, _, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<2>());
ON_CALL(*this, ChangePin(_, _, _, _, _))
.WillByDefault(SetOperationFailedInArgumentAndWarn<2>());
}
MockSimProxy::~MockSimProxy() {}
} // namespace mm1
} // namespace shill