<commit_before>#ifndef FAKE_MESSAGE_QUEUE
#define FAKE_MESSAGE_QUEUE

#include "Messaging/IMessageQueue.hpp"

namespace Messaging {

  struct IMockableMessageQueue {
    virtual Core::Status addRequest(const Request& request) = 0;
    virtual Core::Status addEvent(const Event& event) = 0;
  };

  struct FakeMessageQueue : public Messaging::IMessageQueue {
	  TYPE_PTRS(FakeMessageQueue)

		explicit FakeMessageQueue(IMockableMessageQueue& queue) : queue(queue) {
	  }

    virtual void idle() override {
    }

    virtual Core::Status addRequest(Request::Unique request) override {
      return queue.addRequest(*request);
    }

    virtual Core::Status addEvent(Event::Unique event) override {
      return queue.addEvent(*event);
    }

    virtual QueueGenericClient::Unique createClient(std::string clinetId) {
      return nullptr;
    }

    virtual QueueResourceClient::Unique createClient(std::string clinetId, std::string resource) {
      return nullptr;
    }

    virtual void removeClient(const QueueClient& client) {
    }

    virtual QueueResourceController::Unique createController(std::string resource) {
      return nullptr;
    }

    virtual void removeController(const QueueResourceController& controller) {
    }

  private:
	  IMockableMessageQueue& queue;
  };

}

#endif /* end of include guard: FAKE_MESSAGE_QUEUE */<commit_msg>Remove unused parameters<commit_after>#ifndef FAKE_MESSAGE_QUEUE
#define FAKE_MESSAGE_QUEUE

#include "Messaging/IMessageQueue.hpp"

namespace Messaging {

  struct IMockableMessageQueue {
    virtual Core::Status addRequest(const Request& request) = 0;
    virtual Core::Status addEvent(const Event& event) = 0;
  };

  struct FakeMessageQueue : public Messaging::IMessageQueue {
	  TYPE_PTRS(FakeMessageQueue)

		explicit FakeMessageQueue(IMockableMessageQueue& queue) : queue(queue) {
	  }

    virtual void idle() override {
    }

    virtual Core::Status addRequest(Request::Unique request) override {
      return queue.addRequest(*request);
    }

    virtual Core::Status addEvent(Event::Unique event) override {
      return queue.addEvent(*event);
    }

    virtual QueueGenericClient::Unique createClient(std::string) {
      return nullptr;
    }

    virtual QueueResourceClient::Unique createClient(std::string, std::string) {
      return nullptr;
    }

    virtual void removeClient(const QueueClient&) {
    }

    virtual QueueResourceController::Unique createController(std::string) {
      return nullptr;
    }

    virtual void removeController(const QueueResourceController&) {
    }

  private:
	  IMockableMessageQueue& queue;
  };

}

#endif /* end of include guard: FAKE_MESSAGE_QUEUE */
{'fraction_non_alphanumeric': 0.09264101606275682, 'fraction_numerical': 0.0014942099364960778, 'mean_word_length': 4.140115163147793, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4918419', 'n_tokens_mistral': 785, 'n_tokens_neox': 746, 'n_words': 172}