IsEnabled() public method

public IsEnabled ( ISet value ) : bool
value ISet
return bool
Ejemplo n.º 1
0
 public void IsEnabledReturnsTrueForNonEmptySet()
 {
     var gate = new ActorGate();
     Assert.That(gate.IsEnabled(new HashSet<string>(new[] {"foo"})), Is.True);
 }
Ejemplo n.º 2
0
 public void IsEnabledReturnsFalseForEmptySet()
 {
     var gate = new ActorGate();
     Assert.That(gate.IsEnabled(new HashSet<string>()), Is.False);
 }