Exemple #1
0
        public void Maybe_Dispose()
        {
            var ss = new MaybeSubject <int>();

            var to = ss.IgnoreElement().Test();

            Assert.True(ss.HasObserver());

            to.Dispose();

            Assert.False(ss.HasObserver());
        }