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); }
public ClientController(IError error, IClientMiddleware clientMiddleware) : base(error) { this.clientMiddleware = clientMiddleware; }