public void Intersect ()
{
DnsPermission dpn = new DnsPermission (PermissionState.None);
Assert.IsNull (dpn.Intersect (null), "None N null");
Assert.IsNull (dpn.Intersect (dpn), "None N None");
DnsPermission dpu = new DnsPermission (PermissionState.Unrestricted);
Assert.IsNull (dpu.Intersect (null), "Unrestricted N null");
DnsPermission result = (DnsPermission) dpu.Intersect (dpu);
Assert.IsTrue (result.IsUnrestricted (), "Unrestricted N Unrestricted");
Assert.IsNull (dpn.Intersect (dpu), "None N Unrestricted");
Assert.IsNull (dpu.Intersect (dpn), "Unrestricted N None");
}