blob: e027f00165f0053e130974a0c4ca8682bacf018d [file] [log] [blame]
#pragma once
#include "status.hpp"
#include "verify.hpp"
#include <memory>
#include <vector>
#include <gtest/gtest.h>
namespace ipmi_flash
{
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 ipmi_flash