public void UpdatePolicyGroupDescriptionTest() { InitCertPolicyGroupRecords(); CertPolicyGroupManager mgr = CreateManager(); CertPolicyGroup newCertPolicyGroup = new CertPolicyGroup("UnitTestPolicyGroup", "UnitTest Policy Description"); mgr.Add(newCertPolicyGroup); CertPolicyGroup actualCertPolicy = mgr.Get("UnitTestPolicyGroup"); actualCertPolicy.Should().NotBeNull(); actualCertPolicy.Description = "blank"; mgr.Update(actualCertPolicy); CertPolicyGroup updatedCertPolicy = mgr.Get("UnitTestPolicyGroup"); updatedCertPolicy.Description.ShouldAllBeEquivalentTo("blank"); }