public void ToXmlPolicyLevel ()
{
PublisherMembershipCondition pmc = new PublisherMembershipCondition (x509);
string s = pmc.ToXml ().ToString ();
// are they all the same ?
IEnumerator e = SecurityManager.PolicyHierarchy ();
while (e.MoveNext ()) {
PolicyLevel pl = e.Current as PolicyLevel;
Assert.AreEqual (s, pmc.ToXml (pl).ToString (), "ToXml(PolicyLevel='" + pl.Label + "')");
}
// yes!
}