blob: af38f98fb4a5c2f0649760c9ee003a9507f8e668 [file] [log] [blame]
// 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.
#ifndef SHILL_CELLULAR_MOCK_MODEM_SIMPLE_PROXY_H_
#define SHILL_CELLULAR_MOCK_MODEM_SIMPLE_PROXY_H_
#include <base/macros.h>
#include <gmock/gmock.h>
#include "shill/cellular/modem_simple_proxy_interface.h"
namespace shill {
class MockModemSimpleProxy : public ModemSimpleProxyInterface {
public:
MockModemSimpleProxy();
~MockModemSimpleProxy() override;
MOCK_METHOD3(GetModemStatus, void(Error* error,
const KeyValueStoreCallback& callback,
int timeout));
MOCK_METHOD4(Connect, void(const KeyValueStore& properties,
Error* error, const ResultCallback& callback,
int timeout));
private:
DISALLOW_COPY_AND_ASSIGN(MockModemSimpleProxy);
};
} // namespace shill
#endif // SHILL_CELLULAR_MOCK_MODEM_SIMPLE_PROXY_H_