github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/domain/healthcheck/automock/health_check_service.go (about) 1 // Code generated by mockery. DO NOT EDIT. 2 3 package automock 4 5 import mock "github.com/stretchr/testify/mock" 6 7 // HealthCheckService is an autogenerated mock type for the HealthCheckService type 8 type HealthCheckService struct { 9 mock.Mock 10 } 11 12 type mockConstructorTestingTNewHealthCheckService interface { 13 mock.TestingT 14 Cleanup(func()) 15 } 16 17 // NewHealthCheckService creates a new instance of HealthCheckService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. 18 func NewHealthCheckService(t mockConstructorTestingTNewHealthCheckService) *HealthCheckService { 19 mock := &HealthCheckService{} 20 mock.Mock.Test(t) 21 22 t.Cleanup(func() { mock.AssertExpectations(t) }) 23 24 return mock 25 }