ClassWrapper.hpp 683 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2021-04-24
  6. * Changed: 2022-05-05
  7. *
  8. * */
  9. #ifndef LS_STD_CLASS_MOCK_HPP
  10. #define LS_STD_CLASS_MOCK_HPP
  11. #include <ls_std/ls_std.hpp>
  12. #include <gmock/gmock.h>
  13. // TODO: check if this class is being used with correct include
  14. namespace ls_std_test // TODO: change namespace to core specific namespace
  15. {
  16. class ClassWrapper : public ls::std::core::Class
  17. {
  18. public:
  19. ClassWrapper() : ls::std::core::Class("ClassWrapper") {};
  20. MOCK_METHOD0(Die, void());
  21. ~ClassWrapper() override { Die(); }
  22. };
  23. }
  24. #endif