IsEnabled() 공개 메소드

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