public void Dispose() { var us = new UnicastSubject <int>(); var to = us .IgnoreAllElements() .Test(); Assert.True(us.HasObserver()); to.Dispose(); Assert.False(us.HasObserver()); }
public void Dispose() { var us = new UnicastSubject <int>(); var to = us .IgnoreAllElements() .Test(); Assert.True(us.HasObserver()); to.Dispose(); Assert.False(us.HasObserver()); }