SendCode() 개인적인 메소드

private SendCode ( SendCodeViewModel model ) : Task
model SendCodeViewModel
리턴 Task
예제 #1
0
        public void AccountController_SendCode_Test02()
        {
            // Initialization
            AccountController ctl = new AccountController();
            SendCodeViewModel model = new SendCodeViewModel();

            // To test if it is null
            var result = ctl.SendCode(model);
            Assert.IsNotNull(result);
        }
예제 #2
0
        public void AccountController_SendCode_Test01()
        {
            // Initialization
            AccountController ctl = new AccountController();
            string url = "http://getskills.azurewebsites.net/";
            bool rememberMe = false;

            // To test if it is null
            var result = ctl.SendCode(url, rememberMe);
            Assert.IsNotNull(result);
        }