protected HttpHandler(IAuthenticationProvider authenticationProvider) { _handler = HandlerFactory.Build(); _endpointStore = new EndpointStore(); _credentialsBuilder = new CredentialsBuilder(authenticationProvider); }
public void SetUp() { _authenticationProvider = MockRepository.GenerateStub<IAuthenticationProvider>(); _credentialsBuilder = new CredentialsBuilder(_authenticationProvider); _encodedCredentials = Encode(Username, Password); }