public static void VerifyExternalLinkExpiredResult(AuthenticationController controller, ActionResult result) { ResultAssert.IsRedirect(result, permanent: false, url: controller.Url.LogOn(relativeUrl: false)); Assert.Equal(Strings.ExternalAccountLinkExpired, controller.TempData["Message"]); }