Get() private method

private Get ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
            public void ReturnsView_WhenReturnUrlArg_IsNonEmptyString()
            {
                const string returnUrl  = "/path/to/resource";
                var          userSigner = new Mock <ISignUsers>(MockBehavior.Strict);

                userSigner.Setup(p => p.DefaultSignedOnUrl).Returns("/my/home");
                var services       = CreateSignOnServices();
                var builder        = ReuseMock.TestControllerBuilder(ControllerCustomization.ForUrlHelper);
                var requestContext = new RequestContext(builder.HttpContext, new RouteData());
                var controller     = new SignOnController(services)
                {
                    Url = new UrlHelper(requestContext)
                };

                var result = controller.Get(returnUrl);

                result.ShouldNotBeNull();
                result.ShouldBeType <ViewResult>();
                var viewResult = (ViewResult)result;

                viewResult.ViewName.ShouldEqual(string.Empty);
                viewResult.Model.ShouldNotBeNull();
                viewResult.Model.ShouldBeType <SignOnForm>();
                var form = (SignOnForm)viewResult.Model;

                form.EmailAddress.ShouldBeNull();
                form.ReturnUrl.ShouldEqual(returnUrl);
            }
            public void ReturnsView_WhenReturnUrlArg_IsEmptyString()
            {
                var returnUrl  = string.Empty;
                var services   = CreateSignOnServices();
                var controller = new SignOnController(services);

                var result = controller.Get(returnUrl);

                result.ShouldNotBeNull();
                result.ShouldBeType <ViewResult>();
                var viewResult = (ViewResult)result;

                viewResult.ViewName.ShouldEqual(string.Empty);
                viewResult.Model.ShouldNotBeNull();
                viewResult.Model.ShouldBeType <SignOnForm>();
                var form = (SignOnForm)viewResult.Model;

                form.EmailAddress.ShouldBeNull();
                form.ReturnUrl.ShouldEqual(returnUrl);
            }
            public void ReturnsView_WhenReturnUrlArg_IsNull()
            {
                var services = CreateSignOnServices();
                var builder = ReuseMock.TestControllerBuilder(ControllerCustomization.ForUrlHelper);
                var requestContext = new RequestContext(builder.HttpContext, new RouteData());
                var controller = new SignOnController(services)
                {
                    Url = new UrlHelper(requestContext)
                };

                var result = controller.Get(null);

                result.ShouldNotBeNull();
                result.ShouldBeType<ViewResult>();
                var viewResult = (ViewResult) result;
                viewResult.ViewName.ShouldEqual(string.Empty);
                viewResult.Model.ShouldNotBeNull();
                viewResult.Model.ShouldBeType<SignOnForm>();
                var form = (SignOnForm)viewResult.Model;
                form.EmailAddress.ShouldBeNull();
                form.ReturnUrl.ShouldBeNull();
            }
            public void ReturnsView_WhenReturnUrlArg_IsNull()
            {
                var services       = CreateSignOnServices();
                var builder        = ReuseMock.TestControllerBuilder(ControllerCustomization.ForUrlHelper);
                var requestContext = new RequestContext(builder.HttpContext, new RouteData());
                var controller     = new SignOnController(services)
                {
                    Url = new UrlHelper(requestContext)
                };

                var result = controller.Get(null);

                result.ShouldNotBeNull();
                result.ShouldBeType <ViewResult>();
                var viewResult = (ViewResult)result;

                viewResult.ViewName.ShouldEqual(string.Empty);
                viewResult.Model.ShouldNotBeNull();
                viewResult.Model.ShouldBeType <SignOnForm>();
                var form = (SignOnForm)viewResult.Model;

                form.EmailAddress.ShouldBeNull();
                form.ReturnUrl.ShouldBeNull();
            }
            public void ReturnsView_WhenReturnUrlArg_IsEmptyString()
            {
                var returnUrl = string.Empty;
                var services = CreateSignOnServices();
                var controller = new SignOnController(services);

                var result = controller.Get(returnUrl);

                result.ShouldNotBeNull();
                result.ShouldBeType<ViewResult>();
                var viewResult = (ViewResult)result;
                viewResult.ViewName.ShouldEqual(string.Empty);
                viewResult.Model.ShouldNotBeNull();
                viewResult.Model.ShouldBeType<SignOnForm>();
                var form = (SignOnForm)viewResult.Model;
                form.EmailAddress.ShouldBeNull();
                form.ReturnUrl.ShouldEqual(returnUrl);
            }
            public void ReturnsView_WhenReturnUrlArg_IsNonEmptyString()
            {
                const string returnUrl = "/path/to/resource";
                var userSigner = new Mock<ISignUsers>(MockBehavior.Strict);
                userSigner.Setup(p => p.DefaultSignedOnUrl).Returns("/my/home");
                var services = CreateSignOnServices();
                var builder = ReuseMock.TestControllerBuilder(ControllerCustomization.ForUrlHelper);
                var requestContext = new RequestContext(builder.HttpContext, new RouteData());
                var controller = new SignOnController(services)
                {
                    Url = new UrlHelper(requestContext)
                };

                var result = controller.Get(returnUrl);

                result.ShouldNotBeNull();
                result.ShouldBeType<ViewResult>();
                var viewResult = (ViewResult)result;
                viewResult.ViewName.ShouldEqual(string.Empty);
                viewResult.Model.ShouldNotBeNull();
                viewResult.Model.ShouldBeType<SignOnForm>();
                var form = (SignOnForm)viewResult.Model;
                form.EmailAddress.ShouldBeNull();
                form.ReturnUrl.ShouldEqual(returnUrl);
            }