public void Allowed_Alias() { var policy = new MultiAddressWhiteList(); policy.Add(a); Assert.IsTrue(policy.IsAllowed(a)); Assert.IsTrue(policy.IsAllowed(a1)); Assert.IsTrue(policy.IsAllowed(b)); Assert.IsFalse(policy.IsAllowed(c)); Assert.IsFalse(policy.IsAllowed(d)); }
public void Empty() { var policy = new MultiAddressWhiteList(); Assert.IsTrue(policy.IsAllowed(a)); }