public void CanRedirect() { var controller = new UrlController(null); CanIAddtoStorage(); var result = controller.Redirect(1); Assert.NotNull(result); Assert.Equal("http://cool.xyz", ((RedirectResult)result).Url); }