ClassWrapper.hpp 553 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: 2021-05-02
  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. namespace ls_std_test
  14. {
  15. class ClassWrapper : public ls_std::Class
  16. {
  17. public:
  18. ClassWrapper() : ls_std::Class("ClassWrapper") {};
  19. MOCK_METHOD0(Die, void());
  20. ~ClassWrapper() override { Die(); }
  21. };
  22. }
  23. #endif