Tests.DeadLockControllerTests.DeadLockControllerIndexActionRedirectsWithExpectedOutput C# (CSharp) Method

DeadLockControllerIndexActionRedirectsWithExpectedOutput() private method

        public void DeadLockControllerIndexActionRedirectsWithExpectedOutput()
        {
            //arrange
            var controller = new DeadLockController();

            //act
            var actionResult = (RedirectToRouteResult)controller.Index();

            //assert
            Assert.That(actionResult.RouteValues["Output"], Is.EqualTo("Success"));
        }
    }