text: #ifndef ARDUINO_REFACTORING_FOR_TESTABILITY_MOCKESP32WEBSERVER_HPP
  #define ARDUINO_REFACTORING_FOR_TESTABILITY_MOCKESP32WEBSERVER_HPP
  
  #include "Esp32WebServer.h"
  #include "gmock/gmock.h"
  
  class MockEsp32WebServer : public Esp32WebServer
  {
  public:
      MOCK_METHOD(void, begin, (), (override));
      MOCK_METHOD(void,
                  on,
                  (const char* endpoint, std::function<void()> callback),
                  (override));
      MOCK_METHOD(void, onNotFound, (std::function<void()> callback), (override));
      MOCK_METHOD(int, args, (), (override));
      MOCK_METHOD(std::vector<char>, argName, (int index), (override));
      MOCK_METHOD(int, argToInt, (int index), (override));
      MOCK_METHOD(void,
                  send,
                  (int errorCode, const char* type, const char* payload),
                  (override));
      MOCK_METHOD(void, handleClient, (), (override));
  };
  
  #endif // ARDUINO_REFACTORING_FOR_TESTABILITY_MOCKESP32WEBSERVER_HPP
  