public void ShouldGetCookieNameFromRequest() { _controller.Request.Cookies.Add(new HttpCookie("CookieName", "CookieValue")); _controller.HasCookie("CookieName").Should().Be(true); }