#pragma once #include "interfaces/metric.hpp" #include class MetricMock : public interfaces::Metric { public: MetricMock() { using namespace testing; ON_CALL(*this, getReadings()) .WillByDefault(Return(std::vector())); } MOCK_METHOD(void, initialize, (), (override)); MOCK_METHOD(void, deinitialize, (), (override)); MOCK_METHOD(std::vector, getReadings, (), (const, override)); MOCK_METHOD(LabeledMetricParameters, dumpConfiguration, (), (const, override)); };