private IEnumerable<WebProofClient> GetAllIdentityClients() { using (var identityDb = new WebProofIdentity()) { return identityDb.AllClients(); } }
public void CheckIfClientExist() { using (var db = new WebProofIdentity()) { var client = db.ClientExist(new Guid().ToString()); Assert.IsFalse(client); } }
public void CheckIfClientsExist() { using (var db = new WebProofIdentity()) { var allClients = db.AllClients(); Assert.IsNotNull(allClients); Assert.IsTrue(allClients.Any()); } }