1 #pragma once 2 3 #include "env.hpp" 4 5 #include <string> 6 7 #include <gmock/gmock.h> 8 9 namespace env 10 { 11 12 class EnvMock : public Env 13 { 14 public: 15 MOCK_CONST_METHOD1(get, const char*(const char*)); 16 }; 17 18 static inline EnvMock mockEnv; 19 20 } // namespace env 21