public static void AllMembershipConditionCallMethods() { AllMembershipCondition amc = new AllMembershipCondition(); bool check = amc.Check(new Evidence()); IMembershipCondition imc = amc.Copy(); check = amc.Equals(new object()); int hash = amc.GetHashCode(); string str = amc.ToString(); SecurityElement se = new SecurityElement(""); PolicyLevel pl = (PolicyLevel)Activator.CreateInstance(typeof(PolicyLevel), true); amc.FromXml(se); amc.FromXml(se, pl); se = amc.ToXml(); se = amc.ToXml(pl); }
public void GetHashCode_ () { AllMembershipCondition all = new AllMembershipCondition (); AllMembershipCondition copy = (AllMembershipCondition)all.Copy (); Assert.AreEqual (all.GetHashCode (), copy.GetHashCode ()); }