#ifndef TESTLOGGER_H #define TESTLOGGER_H #include #include "model/Logger.h" class TestLogger : public QObject, public Logger { Q_OBJECT public: QString message; void log(QString message) override { this->message = message; emit isCalled(); } signals: void isCalled(); }; #endif //TESTLOGGER_H