public void Basic_Handler_Crash()
        {
            var up = new UnicastSubject <int>();

            var src = up.DoOnSubscribe(() => { throw new InvalidOperationException(); });

            src.Test().AssertFailure(typeof(InvalidOperationException));
        }
        public void Basic()
        {
            var count = 0;

            var up = new UnicastSubject <int>();

            var src = up.DoOnSubscribe(() => count++);

            for (int i = 1; i < 6; i++)
            {
                src.Test();
                Assert.AreEqual(i, count);
            }
        }