blob: eca0395dd67a4ba7dd7b35dac96f3a2a44b9db54 [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.
#ifndef SHILL_MOCK_MM1_SIM_PROXY_H_
#define SHILL_MOCK_MM1_SIM_PROXY_H_
#include <string>
#include <base/macros.h>
#include <gmock/gmock.h>
#include "shill/mm1_sim_proxy_interface.h"
namespace shill {
namespace mm1 {
class MockSimProxy : public SimProxyInterface {
public:
MockSimProxy();
~MockSimProxy() override;
MOCK_METHOD4(SendPin, void(const std::string &pin,
Error *error,
const ResultCallback &callback,
int timeout));
MOCK_METHOD5(SendPuk, void(const std::string &puk,
const std::string &pin,
Error *error,
const ResultCallback &callback,
int timeout));
MOCK_METHOD5(EnablePin, void(const std::string &pin,
const bool enabled,
Error *error,
const ResultCallback &callback,
int timeout));
MOCK_METHOD5(ChangePin, void(const std::string &old_pin,
const std::string &new_pin,
Error *error,
const ResultCallback &callback,
int timeout));
private:
DISALLOW_COPY_AND_ASSIGN(MockSimProxy);
};
} // namespace mm1
} // namespace shill
#endif // SHILL_MOCK_MM1_SIM_PROXY_H_