blob: 1e03a3115ecfa95cd1b60d9077bb614d5a40225f [file] [log] [blame]
#pragma once
#include <gmock/gmock.h>
#include <vector>
#include "flash-ipmi.hpp"
class UpdaterMock : public UpdateInterface
{
public:
virtual ~UpdaterMock() = default;
MOCK_METHOD1(start, bool(uint32_t));
MOCK_METHOD2(flashData, bool(uint32_t, const std::vector<uint8_t>&));
MOCK_METHOD0(flashFinish, bool());
MOCK_METHOD1(startHash, bool(uint32_t));
MOCK_METHOD2(hashData, bool(uint32_t, const std::vector<uint8_t>&));
};