private SendCode ( SendCodeViewModel model ) : Task |
||
model | SendCodeViewModel | |
return | Task |
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); }
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); }