Example #1
0
 public TurnRobotCommand(ICommandRecorder commandRecorder) : base(commandRecorder)
 {
 }
 public DbConnectionMock(ICommandRecorder commandRecorder)
 {
     _commandRecorder = commandRecorder;
 }
 public ResetRecordingCommand(ICommandRecorder commandRecorder) : base(commandRecorder)
 {
 }
Example #4
0
 public DbConnectionMock(ICommandRecorder commandRecorder)
 {
     _commandRecorder = commandRecorder;
 }
 public AbstractRobotCommand(ICommandRecorder commandRecorder)
 {
     CommandRecorder = commandRecorder;
 }
Example #6
0
 public void Init()
 {
     _commandRecorder = new CommandRecorder();
 }
Example #7
0
 public BeepRobotCommand(ICommandRecorder commandRecorder) : base(commandRecorder)
 {
 }
 public void Init()
 {
     _commandRecorder  = new CommandRecorder();
     _turnRobotCommand = new TurnRobotCommand(_commandRecorder);
     _robot            = MockRepository.GenerateStub <IRobot>();
 }
 public DbCommandMock(ICommandRecorder commandRecorder)
 {
     _commandRecorder = commandRecorder;
     Parameters = new ParameterCollectionMock();
 }