blob: b3071ef5067afe6c08fab168b69aaeed97d3e3b4 [file] [log] [blame]
Patrick Venture3ecb3502019-05-17 11:03:51 -07001#pragma once
2
3#include "status.hpp"
4#include "verify.hpp"
5
6#include <memory>
7#include <vector>
8
9#include <gtest/gtest.h>
10
Patrick Venture1d5a31c2019-05-20 11:38:22 -070011namespace ipmi_flash
Patrick Venture3ecb3502019-05-17 11:03:51 -070012{
13
14class VerificationMock : public VerificationInterface
15{
16 public:
17 MOCK_METHOD0(triggerVerification, bool());
18 MOCK_METHOD0(abortVerification, void());
Patrick Venturef1f0f652019-06-03 09:10:19 -070019 MOCK_METHOD0(status, VerifyCheckResponses());
Patrick Venture3ecb3502019-05-17 11:03:51 -070020};
21
22std::unique_ptr<VerificationInterface> CreateVerifyMock()
23{
24 return std::make_unique<VerificationMock>();
25}
26
Patrick Venture1d5a31c2019-05-20 11:38:22 -070027} // namespace ipmi_flash