blob: 732df31fc7b61d4bfe81371542d66bf501826c46 [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());
};