Skip to content
Prev Previous commit
fix: update SAI transitive return type snapshot with XML docs
  • Loading branch information
Lucas Chaves committed Mar 17, 2026
commit 748f8db07f71950926c0c484a80abd3c3aa8b1ba
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ namespace TUnit.Mocks.Generated
return new IMyService_GetValue_M0_MockCall(global::TUnit.Mocks.Mock.GetEngine(mock), 0, "GetValue", matchers);
}

/// <summary>Configure the mock setup for <c>GetConfigProvider</c>.</summary>
/// <returns>
/// A <see cref="global::TUnit.Mocks.MockMethodCall{T}"/> typed as <c>object?</c> because the return type
/// contains static abstract members and cannot be used as a generic type argument (CS8920).
/// Pass a value that implements the return interface to <c>.Returns()</c> — incorrect types will cause an <see cref="global::System.InvalidCastException"/> at call time.
/// </returns>
public static global::TUnit.Mocks.MockMethodCall<object?> GetConfigProvider(this global::TUnit.Mocks.Mock<global::IMyService> mock)
{
var matchers = global::System.Array.Empty<global::TUnit.Mocks.Arguments.IArgumentMatcher>();
Expand Down
Loading