public void PublishAsync_ReachesSubscriber() { var count = 0; var t = new TestClass(); var o = new object(); o.Subscribe<TestClass>(tc => { count++; threadEvent.Set(); }); t.PublishAsync(); threadEvent.WaitOne(); Assert.IsTrue(count == 1); }