Exemple #1
0
        public void POST_LogOff()
        {
            //Arrange

            //Act
            var result = (RedirectToRouteResult)_controller.LogOff();

            //Assert
            Assert.That(result.RouteValues["action"], Is.EqualTo("Login"));
        }