Example #1
0
        public void Mobile_Get_ReturnsView()
        {
            // arrange
            var auth         = new Mock <IAuthenticationService>();
            var notification = new Mock <INotificationService>();
            var redirect     = new RedirectService();
            var controller   = new RegistrationController(auth.Object, notification.Object, redirect);

            // act
            var view = controller.Mobile();

            // assert
            Assert.That(view, Is.Not.Null);
        }