public void CanChangeUrlAndKey() { var login = new LoginService(); string url = login.ApiUrl; Assert.IsNotNullOrEmpty(url); login.ApiUrl = "foo"; url = login.ApiUrl; Assert.AreEqual("foo",url); string key = login.AppKey; Assert.IsNotNullOrEmpty(key); login.AppKey = "bar"; key = login.AppKey; Assert.AreEqual("bar",key); }
public void EnsureLogin() { var login = new LoginService (); login.Login("XX658109", "password"); }
public void EnsureChangePassword() { var login = new LoginService(); login.ChangePassword("XX658109", "password", "password"); }