From f2f150791ec5ba4bced53094bafbc95e8f9ae087 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sat, 17 Aug 2024 17:53:03 -0500 Subject: [PATCH] tests: add tests for ephemeral cache control model --- .../Unit/Models/EphemeralCacheControlTests.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/AnthropicClient.Tests/Unit/Models/EphemeralCacheControlTests.cs diff --git a/tests/AnthropicClient.Tests/Unit/Models/EphemeralCacheControlTests.cs b/tests/AnthropicClient.Tests/Unit/Models/EphemeralCacheControlTests.cs new file mode 100644 index 0000000..8e2b486 --- /dev/null +++ b/tests/AnthropicClient.Tests/Unit/Models/EphemeralCacheControlTests.cs @@ -0,0 +1,10 @@ +namespace AnthropicClient.Tests.Unit.Models; + +public class EphemeralCacheControlTests +{ + [Fact] + public void Constructor_WhenCalled_ItShouldInitializeType() + { + new EphemeralCacheControl().Type.Should().Be(CacheControlType.Ephemeral); + } +} \ No newline at end of file