public void SubscribeTest() { TestLauncherActor.Test(() => { var rx = new RxObservable <string>(); var dsp = rx.Subscribe(new Observer()); Assert.IsTrue(dsp is IDisposable); }); }
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"); }); }