public void POST_LogOff() { //Arrange //Act var result = (RedirectToRouteResult)_controller.LogOff(); //Assert Assert.That(result.RouteValues["action"], Is.EqualTo("Login")); }