| 232 | } |
| 233 | |
| 234 | nlohmann::json TestDataGenerator::createResponseWithMetadata() { |
| 235 | auto response = createFullValidResponse(); |
| 236 | response["custom_field"] = "custom_value"; |
| 237 | response["choices"][0]["custom_choice_field"] = true; |
| 238 | return response; |
| 239 | } |
| 240 | |
| 241 | std::vector<std::pair<int, std::string>> TestDataGenerator::errorScenarios() { |
| 242 | return {{400, "Bad request - invalid parameters"}, |
nothing calls this directly
no outgoing calls
no test coverage detected