public void GetAllUsersTest() { ColorettoMembershipProvider target = new ColorettoMembershipProvider(); // TODO: Initialize to an appropriate value int pageIndex = 0; // TODO: Initialize to an appropriate value int pageSize = 0; // TODO: Initialize to an appropriate value int totalRecords = 0; // TODO: Initialize to an appropriate value int totalRecordsExpected = 0; // TODO: Initialize to an appropriate value MembershipUserCollection expected = null; // TODO: Initialize to an appropriate value MembershipUserCollection actual; actual = target.GetAllUsers(pageIndex, pageSize, out totalRecords); Assert.AreEqual(totalRecordsExpected, totalRecords); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetAllUsersTest() { ColorettoMembershipProvider target = new ColorettoMembershipProvider(); int pageIndex = 0; int pageSize = 10; int totalRecords = 0; int totalRecordsExpected = 1; var actual = target.GetAllUsers(pageIndex, pageSize, out totalRecords).Count(); Assert.AreEqual(totalRecordsExpected, totalRecords); Assert.AreEqual(1, actual); }