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