Пример #1
0
 public ClientMiddlewareTests()
 {
     this.clientRepository = new Mock <IClientRepository>();
     this.sharedResources  = new Mock <ISharedResources>();
     this.error            = new Mock <IError>();
     this.stub             = new ClientMiddleware(this.clientRepository.Object, this.error.Object, this.sharedResources.Object);
 }
Пример #2
0
 public ClientController(IError error, IClientMiddleware clientMiddleware) : base(error)
 {
     this.clientMiddleware = clientMiddleware;
 }