public void AddWwwAuthenticate_ReturnsTheSameHeadersInstance() { var headers = new Headers(); Headers result = headers.AddWwwAuthenticate("a"); result.ShouldBeSameAs(headers); }
public void AddWwwAuthenticate_AddsValidHeader(string challenge) { var headers = new Headers(); headers.AddWwwAuthenticate(challenge); headers["WWW-Authenticate"].ShouldBe(challenge); }