public void IsActive_returns_true_when_AmbientObserver_instantiated() { using (var observer = AmbientObserver.Activate()) { Assert.True(AmbientObserver.IsActive(out _)); } }
public void IsActive_returns_false_when_no_AmbientObserver_instantiated() { Assert.False(AmbientObserver.IsActive(out _)); }