public void Given_A_Valid_ConnectionModel_When_I_Call_ConnectionModelIsHealthy_Then_True_Is_Returned() { //act var result = _sut.ConnectionModelIsHealthy(); //assert Assert.IsNotNull(result); Assert.IsTrue(result); }
private HealthCheckResultDto CheckConnectionModel() { return(_blaiseHealthApi.ConnectionModelIsHealthy() ? new HealthCheckResultDto(HealthCheckType.ConnectionModel, HealthStatusType.Ok) : new HealthCheckResultDto(HealthCheckType.ConnectionModel, HealthStatusType.Error)); }