IsEnabled() public method

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