public void ExecuteInvalidCommand()
 {
     try {
         _command = new TestCommand() { IsValid = false };
         _commandBus.Execute(_command);
     } catch (Exception e) {
         _commandExecutionException = e;
     }
 }
 public void ExecuteCommand()
 {
     try {
         _command = new TestCommand();
         _commandBus.Execute(_command);
     } catch (Exception e) {
         _commandExecutionException = e;
     }
 }
 protected override void BeforeScenario()
 {
     _command = new TestCommand();
     _context = new CommandContext<TestCommand>(_command);
 }