Пример #1
0
 public Spec ClientExistsInCollection()
 {
     return(new Spec(
                () => Ensure.True(BroadcasterSuite.GetBroadcastersClients().Contains(client))));
 }
Пример #2
0
 public override void Arrange()
 {
     client = BroadcasterSuite.GetBroadcastersClients().PickOne();
 }
Пример #3
0
 public Spec ClientIsRemovedFromCollection()
 {
     return(new Spec(() => Ensure.False(BroadcasterSuite.GetBroadcastersClients().Contains(client))));
 }
Пример #4
0
 public override bool CanAct()
 {
     return(BroadcasterSuite.GetBroadcastersClients().Count > 0);
 }