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"); }, 120000); }