public void FalseTest() { RoleExpression expression = new RoleExpression("Admin"); Assert.IsFalse(expression.Evaluate(this.principal)); }
public void FalseTest() { RoleExpression expression = new RoleExpression("Admin"); Assert.IsFalse(expression.Evaluate(principal)); }
public void TrueTest() { RoleExpression expression = new RoleExpression("Manager"); Assert.IsTrue(expression.Evaluate(this.principal)); }
public void TrueTest() { RoleExpression expression = new RoleExpression("Manager"); Assert.IsTrue(expression.Evaluate(principal)); }