Beispiel #1
0
 public ManualPublisher(TestEnvironment environment)
 {
     Environment = environment;
     Requests    = new Receptacle <long>(environment);
     Cancelled   = new Latch(environment);
     Subscriber  = new Promise <ISubscriber <T> >(environment);
 }
Beispiel #2
0
 public BlackboxProbe(TestEnvironment environment, Promise <ISubscriber <T> > subscriber)
 {
     Environment = environment;
     Subscriber  = subscriber;
     Elements    = new Receptacle <T>(environment);
     Error       = new Promise <Exception>(environment);
 }
Beispiel #3
0
 public ManualSubscriber(TestEnvironment environment) : base(environment)
 {
     _received = new Receptacle <T>(environment);
 }