diff --git a/TUnit.Mocks.SourceGenerator.Tests/Snapshots/Interface_Inheriting_Multiple_Interfaces.verified.txt b/TUnit.Mocks.SourceGenerator.Tests/Snapshots/Interface_Inheriting_Multiple_Interfaces.verified.txt
index c060b8b02d..76d191b179 100644
--- a/TUnit.Mocks.SourceGenerator.Tests/Snapshots/Interface_Inheriting_Multiple_Interfaces.verified.txt
+++ b/TUnit.Mocks.SourceGenerator.Tests/Snapshots/Interface_Inheriting_Multiple_Interfaces.verified.txt
@@ -1,4 +1,4 @@
-//
+//
#nullable enable
namespace TUnit.Mocks.Generated
@@ -110,39 +110,43 @@ namespace TUnit.Mocks.Generated
}
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- public readonly struct IReadWriter_Write_M2_TypedSetup : global::TUnit.Mocks.Setup.IVoidMethodSetup
+ public readonly struct IReadWriter_Write_M2_TypedSetup
{
private readonly global::TUnit.Mocks.Setup.VoidMethodSetupBuilder _inner;
internal IReadWriter_Write_M2_TypedSetup(global::TUnit.Mocks.Setup.VoidMethodSetupBuilder inner) => _inner = inner;
///
- public global::TUnit.Mocks.Setup.IVoidSetupChain Throws() where TException : global::System.Exception, new() => _inner.Throws();
+ public IReadWriter_Write_M2_TypedSetup Throws() where TException : global::System.Exception, new() { _inner.Throws(); return this; }
+ ///
+ public IReadWriter_Write_M2_TypedSetup Throws(global::System.Exception exception) { _inner.Throws(exception); return this; }
///
- public global::TUnit.Mocks.Setup.IVoidSetupChain Throws(global::System.Exception exception) => _inner.Throws(exception);
+ public IReadWriter_Write_M2_TypedSetup Callback(global::System.Action callback) { _inner.Callback(callback); return this; }
///
- public global::TUnit.Mocks.Setup.IVoidSetupChain Callback(global::System.Action callback) => _inner.Callback(callback);
+ public IReadWriter_Write_M2_TypedSetup Callback(global::System.Action