blob: 1562200048db61eaa7520a80ea1033a501c312a4 [file] [log] [blame]
Patrick Ventureef3aead2018-09-12 08:53:29 -07001#pragma once
2
3#include "crc.hpp"
4
5#include <gmock/gmock.h>
6
7namespace blobs
8{
9
10class CrcMock : public CrcInterface
11{
12 public:
13 virtual ~CrcMock() = default;
14
15 MOCK_METHOD0(clear, void());
16 MOCK_METHOD2(compute, void(const uint8_t*, uint32_t));
17 MOCK_CONST_METHOD0(get, uint16_t());
18};
19} // namespace blobs