Add serialization roundtrip tests for all Protocol namespace types (#1289)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot 2026-02-17 12:34:49 -08:00 • committed by GitHub
commit 4cef394ad5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,6 +164,7 @@ public class CreateMessageResultTests
Assert.Equal(2, deserialized.Content.Count);
Assert.Equal("toolUse", deserialized.StopReason);
Assert.NotNull(deserialized.Meta);
Assert.Equal("metadata", (string)deserialized.Meta["custom"]!);
}
[Fact]