Exemplo n.º 1
0
        public AuthenticationHandlerShould()
        {
            _subjectUnderTest = new AuthenticationHandler("test", "test", "test");

            _request = new Request
            {
                Headers  = new Dictionary <string, string>(),
                Endpoint = new Uri("/products", UriKind.Relative),
                Method   = HttpMethod.Get
            };

            _subjectUnderTest.AddAuthenticationHeadersToRequest(_request);
        }