I'm having two projects for the unit testing and for my web project.
AuthenticationController controller = new AuthenticationController();
ViewResult result = controller.LogOut() as ViewResult;
Assert.IsNotNull(result);
and in the project, I will be passing the http cookie and the authorization request.
When im running the LogOut test it will fail when getting the cookie. Is there any way to overcome this by creating a fake cookie or any other means?
Thanks in advance.