mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-05-31 17:53:59 +00:00
32 lines
948 B
C++
32 lines
948 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 Mock implementation of enrichment service for testing.
|
|
*/
|
|
|
|
#include <string>
|
|
|
|
#include "enrichment_service.h"
|
|
|
|
/**
|
|
* @brief Mock implementation of enrichment service for testing and prototyping.
|
|
*
|
|
* Returns empty context without performing actual web queries or enrichment.
|
|
* Useful for unit tests and development scenarios.
|
|
*/
|
|
class MockEnrichmentService final : public IEnrichmentService {
|
|
public:
|
|
/**
|
|
* @brief Returns empty location context.
|
|
*
|
|
* @param loc Unused location parameter.
|
|
* @return Empty string (no enrichment performed).
|
|
*/
|
|
std::string GetLocationContext(const Location& /*loc*/) override {
|
|
return {};
|
|
}
|
|
};
|
|
#endif // BIERGARTEN_PIPELINE_INCLUDES_SERVICES_ENRICHMENT_MOCK_ENRICHMENT_H_
|