| 15 | namespace test { |
| 16 | |
| 17 | class AnthropicClientTest : public AnthropicTestFixture { |
| 18 | protected: |
| 19 | void SetUp() override { |
| 20 | AnthropicTestFixture::SetUp(); |
| 21 | client_ = std::make_unique<ai::anthropic::AnthropicClient>( |
| 22 | kTestAnthropicApiKey, kTestAnthropicBaseUrl); |
| 23 | } |
| 24 | |
| 25 | void TearDown() override { |
| 26 | client_.reset(); |
| 27 | AnthropicTestFixture::TearDown(); |
| 28 | } |
| 29 | |
| 30 | std::unique_ptr<ai::anthropic::AnthropicClient> client_; |
| 31 | }; |
| 32 | |
| 33 | // Constructor and Configuration Tests |
| 34 | TEST_F(AnthropicClientTest, ConstructorWithValidApiKey) { |
nothing calls this directly
no outgoing calls
no test coverage detected