public void SetHealthData()
        {
            var expectedData = new Dictionary <string, string>();

            _healthMonitor.SetHealthFunction(COMPONENT, () => HealthCheckResult.Healthy(), () => expectedData);
            var data = _healthMonitor.GetData(COMPONENT);

            data.ShouldBe(expectedData);
        }
Ejemplo n.º 2
0
 private Dictionary <string, string> GetHealthData()
 {
     return(_healthMonitor.GetData(serviceContext));
 }