public void DeleteIdentityNoServerResponse() { HFCAClient client = HFCAClient.Create("http://localhost:99", null); client.CryptoSuite = crypto; HFCAIdentity ident = client.NewHFCAIdentity("testuser1"); ident.Delete(admin); }
public void TestHFCAIdentityNewInstance() { HFCAClient client = HFCAClient.Create("http://localhost:99", null); client.CryptoSuite = crypto; HFCAIdentity ident = client.NewHFCAIdentity("testid"); Assert.IsNotNull(ident); Assert.AreSame(typeof(HFCAIdentity), ident.GetType()); Assert.AreEqual(ident.EnrollmentId, "testid"); }