| File: TextToSpeech\TextToSpeechClientExtensionsTests.cs | |
| Project: ..\..\..\test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\Microsoft.Extensions.AI.Abstractions.Tests.csproj (Microsoft.Extensions.AI.Abstractions.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Xunit; namespace Microsoft.Extensions.AI; public class TextToSpeechClientExtensionsTests { [Fact] public void GetService_InvalidArgs_Throws() { Assert.Throws<ArgumentNullException>("client", () => { _ = TextToSpeechClientExtensions.GetService<object>(null!); }); } }