blob: e1021c85016d8f30beb56f45a5862efeab9718a5 [file] [log] [blame]
#pragma once
#include "status.hpp"
#include "verify.hpp"
#include <memory>
#include <vector>
#include <gtest/gtest.h>
namespace blobs
{
class VerificationMock : public VerificationInterface
{
public:
MOCK_METHOD0(triggerVerification, bool());
MOCK_METHOD0(abortVerification, void());
MOCK_METHOD0(checkVerificationState, VerifyCheckResponses());
};
std::unique_ptr<VerificationInterface> CreateVerifyMock()
{
return std::make_unique<VerificationMock>();
}
} // namespace blobs