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

EmptyTestCommand

public class EmptyTestCommand : TestCommand
EmptyTestCommand is a TestCommand that does nothing. It simply returns the current result from the context when executed. We use it to avoid testing for null when executing a chain of DelegatingTestCommands.
namespace NUnit.Framework.Internal.Commands { public class EmptyTestCommand : TestCommand { public EmptyTestCommand(Test test) : base(test) { } public override TestResult Execute(TestExecutionContext context) { return context.CurrentResult; } } }