install blob_interface_mock header

To enable unit-tests that deal with this library's objects, install the
blob_interface_mock header.

Change-Id: I230c9195c1c14a61c8b6bc838bb0a17ab8798053
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/src/ipmiblob/test/blob_interface_mock.hpp b/src/ipmiblob/test/blob_interface_mock.hpp
new file mode 100644
index 0000000..845d7c1
--- /dev/null
+++ b/src/ipmiblob/test/blob_interface_mock.hpp
@@ -0,0 +1,27 @@
+#include "blob_interface.hpp"
+
+#include <gmock/gmock.h>
+
+namespace host_tool
+{
+
+class BlobInterfaceMock : public BlobInterface
+{
+  public:
+    virtual ~BlobInterfaceMock() = default;
+    MOCK_METHOD3(writeMeta, void(std::uint16_t, std::uint32_t,
+                                 const std::vector<std::uint8_t>&));
+    MOCK_METHOD3(writeBytes, void(std::uint16_t, std::uint32_t,
+                                  const std::vector<std::uint8_t>&));
+    MOCK_METHOD0(getBlobList, std::vector<std::string>());
+    MOCK_METHOD1(getStat, StatResponse(const std::string&));
+    MOCK_METHOD2(openBlob,
+                 std::uint16_t(const std::string&,
+                               blobs::FirmwareBlobHandler::UpdateFlags));
+    MOCK_METHOD1(closeBlob, void(std::uint16_t));
+    MOCK_METHOD3(readBytes,
+                 std::vector<std::uint8_t>(std::uint16_t, std::uint32_t,
+                                           std::uint32_t));
+};
+
+} // namespace host_tool