자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void AsRedirect_WithLocationUrl_ShouldReturnAResponseWithCorrectHeader() { var response = _factory.AsRedirect("http://google.com"); Assert.That(response.Headers.Keys, Contains.Item("Location")); Assert.That(response.Headers["Location"], Is.EqualTo("http://google.com")); }