blob: 273a88ed7d373337b0428ea0e6efa177c3b9f451 [file] [log] [blame]
// Copyright 2021 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 RMAD_MOCK_RMAD_INTERFACE_H_
#define RMAD_MOCK_RMAD_INTERFACE_H_
#include "rmad/rmad_interface.h"
#include <gmock/gmock.h>
namespace rmad {
class MockRmadInterface : public RmadInterface {
public:
MockRmadInterface() = default;
virtual ~MockRmadInterface() = default;
MOCK_METHOD(void,
GetCurrentState,
(const GetCurrentStateRequest&, const GetCurrentStateCallback&),
(override));
MOCK_METHOD(void,
TransitionState,
(const TransitionStateRequest&, const TransitionStateCallback&),
(override));
MOCK_METHOD(void,
AbortRma,
(const AbortRmaRequest&, const AbortRmaCallback&),
(override));
};
} // namespace rmad
#endif // RMAD_MOCK_RMAD_INTERFACE_H_