public void Then_User_Redirected_To_SelectedLegalEntity() { //Act var result = _controller.SetTransferConnection(_informViewModel); //Assert var redirectToActionResult = result as RedirectToActionResult; Assert.AreEqual("SelectLegalEntity", redirectToActionResult.ActionName); }