MockFileReader.hpp 646 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-21
  6. * Changed: 2023-02-23
  7. *
  8. * */
  9. #ifndef LS_STD_MOCK_FILE_READER_HPP
  10. #define LS_STD_MOCK_FILE_READER_HPP
  11. #include <gmock/gmock.h>
  12. #include <ls-std/core/interface/IReader.hpp>
  13. #include <ls-std/core/type/Types.hpp>
  14. namespace test::io
  15. {
  16. class MockFileReader : public ls::std::core::interface_type::IReader
  17. {
  18. public:
  19. MockFileReader();
  20. ~MockFileReader() noexcept override;
  21. MOCK_METHOD(ls::std::core::type::byte_field, read, (), (override));
  22. };
  23. }
  24. #endif