2 references to AIFunctionFactoryTest
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
33
Assert.Throws<ArgumentNullException>("target", () => AIFunctionFactory.Create(typeof(
AIFunctionFactoryTest
).GetMethod(nameof(InvalidArguments_Throw))!, (object?)null));
35
AIFunctionFactory.Create(typeof(
AIFunctionFactoryTest
).GetMethod(nameof(InvalidArguments_Throw))!, (Func<AIFunctionArguments, object>)null!));