示例#1
0
 public void FindMembersByName()
 {
     var api = new MembersApi();
     var response = api.FindMembers(MemberProperties.LastName, "Ferrie");
     Assert.IsNotNull(response);
     Assert.AreNotEqual(0, response.Count());
 }
示例#2
0
 public void TestMemberLogin()
 {
     var api = new MembersApi();
     var response1 = api.ValidateLogin("gferrie", "ferrie");
     Assert.IsTrue(response1);
     var response2 = api.ValidateLogin("gferrie", "ferrie!!!");
     Assert.IsFalse(response2);
 }