public void SetHealthData() { var expectedData = new Dictionary <string, string>(); _healthMonitor.SetHealthFunction(COMPONENT, () => HealthCheckResult.Healthy(), () => expectedData); var data = _healthMonitor.GetData(COMPONENT); data.ShouldBe(expectedData); }
private Dictionary <string, string> GetHealthData() { return(_healthMonitor.GetData(serviceContext)); }