using System.Text.Json; namespace AIStudio.Tests.Serialization; /// /// A request in the fixtures, together with how AI Studio builds it and the options it writes it with. /// /// The name of the file in the folder Fixtures next to the tests, which holds the request as it got sent before. /// Builds the request the way AI Studio does. /// The options AI Studio writes the request with. public sealed record JsonGoldenRequest(string FileName, Func Create, JsonSerializerOptions Options) { /// public override string ToString() => this.FileName; }