Ejemplo n.º 1
0
 public RandomUserController(IUserWorker userWorker, IRandomIDGenerator randomIDGenerator)
 {
     _userWorker        = userWorker;
     _randomIDGenerator = randomIDGenerator;
 }
 public void Setup()
 {
     _mockUserWorker        = new MockUserWorker();
     _mockRandomIDGenerator = new MockRandomIDGenerator();
     _randomUserController  = new RandomUserController(_mockUserWorker, _mockRandomIDGenerator);
 }