private void When_endpoint_starts()
 {
     _monitor = _pushClient.StartHealthNotifier();
 }
 private void When_endpoint_starts()
 {
     _monitor = _pushClient.StartHealthNotifier();
 }
 private void When_endpoint_terminates_so_that_it_no_longer_sends_updates()
 {
     _monitor?.Dispose();
     _monitor = null;
 }
 private void When_endpoint_terminates_so_that_it_no_longer_sends_updates()
 {
     _monitor?.Dispose();
     _monitor = null;
 }