Example #1
0
 public void SubscribeTest()
 {
     TestLauncherActor.Test(() =>
     {
         var rx  = new RXObservable <string>();
         var dsp = rx.Subscribe(new Observer());
         Assert.IsTrue(dsp is IDisposable);
     });
 }
Example #2
0
 public void TrackTest()
 {
     TestLauncherActor.Test(() =>
     {
         var rx  = new RXObservable <string>();
         var obs = new Observer();
         var dsp = rx.Subscribe(obs);
         rx.Track("Test Message");
         Assert.IsTrue(obs.GetResultAsync().Result == "Test Message");
     }, 120000);
 }