<PackageReference Include="NUnit" Version="4.6.0" />

NUnit.Framework.TestDelegate

public sealed delegate TestDelegate : MulticastDelegate
Delegate used by tests that execute code and capture any thrown exception.
namespace NUnit.Framework { [Obsolete("Use Action instead of TestDelegate")] public delegate void TestDelegate (); }