blob: e1021c85016d8f30beb56f45a5862efeab9718a5 [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
11namespace blobs
12{
13
14class VerificationMock : public VerificationInterface
15{
16 public:
17 MOCK_METHOD0(triggerVerification, bool());
18 MOCK_METHOD0(abortVerification, void());
19 MOCK_METHOD0(checkVerificationState, VerifyCheckResponses());
20};
21
22std::unique_ptr<VerificationInterface> CreateVerifyMock()
23{
24 return std::make_unique<VerificationMock>();
25}
26
27} // namespace blobs