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

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.
public EmptyTestCommand(Test test)

Construct a NullCommand for a test