mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-07-16 17:47:22 +00:00
23 lines
660 B
C++
23 lines
660 B
C++
#ifndef BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
|
|
#define BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
|
|
|
|
/**
|
|
* @file services/enrichment/mock_enrichment.h
|
|
* @brief No-op IEnrichmentService used when network enrichment is disabled.
|
|
*/
|
|
|
|
#include <string>
|
|
|
|
#include "enrichment_service.h"
|
|
|
|
/**
|
|
* @brief Enrichment service that returns no context for any location.
|
|
*/
|
|
class MockEnrichmentService final : public IEnrichmentService {
|
|
public:
|
|
std::string GetLocationContext(const Location& /*loc*/) override {
|
|
return {};
|
|
}
|
|
};
|
|
#endif // BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
|