In my header file, class has below variable.
class Test{
MQTT_NS::server<> mServer;
};
In cpp file, mServer would be used to perform certain operations. During unit testing with Gtest, I don't want to test server, instead I want to mock it
Is there any reference Gtest code to mock MQTT_NS::server<> ?
Hi,
In my header file, class has below variable. class Test{ MQTT_NS::server<> mServer; };
In cpp file, mServer would be used to perform certain operations. During unit testing with Gtest, I don't want to test server, instead I want to mock it
Is there any reference Gtest code to mock MQTT_NS::server<> ?