1 #pragma once 2 3 #include "interfaces.hpp" 4 5 #include <gmock/gmock.h> 6 7 class ReadInterfaceMock : public ReadInterface 8 { 9 public: 10 virtual ~ReadInterfaceMock() = default; 11 12 MOCK_METHOD0(read, ReadReturn()); 13 }; 14
1 #pragma once 2 3 #include "interfaces.hpp" 4 5 #include <gmock/gmock.h> 6 7 class ReadInterfaceMock : public ReadInterface 8 { 9 public: 10 virtual ~ReadInterfaceMock() = default; 11 12 MOCK_METHOD0(read, ReadReturn()); 13 }; 14