11 #include <gtest/gtest.h>
12 #include <gmock/gmock.h>
14 using namespace ::testing;
15 using namespace ::
daq;
25 EXPECT_NO_THROW(EventLogObserverLogger{m_logger});
30 auto logger = EventLogObserverLogger(m_logger);
33 EXPECT_NO_THROW(logger(ErrorEvent(
"id",
"test error", {},
"origin")));
34 EXPECT_NO_THROW(logger(GenericEvent(
"id",
"test descriptionor", {})));
35 EXPECT_NO_THROW(logger(ActionEvent(
"id",
"test description", {})));
36 EXPECT_NO_THROW(logger(UserActionEvent(
"id",
"test description", {})));