private void Listener_CommandReceived(ITestListener listener, TestCommand command) { if (command == null) { Console.WriteLine(" ** NULL COMMAND** "); } else { command.BeforeExecute(); command.Execute(this); command.AfterExecute(); listener.SendResult(command.Result); } }