// Code generated by mockery v2.53.3. DO NOT EDIT.

package vault

import (
	api "github.com/hashicorp/vault/api"
	mock "github.com/stretchr/testify/mock"
)

// mockApiClientSys is an autogenerated mock type for the apiClientSys type
type mockApiClientSys struct {
	mock.Mock
}

type mockApiClientSys_Expecter struct {
	mock *mock.Mock
}

func (_m *mockApiClientSys) EXPECT() *mockApiClientSys_Expecter {
	return &mockApiClientSys_Expecter{mock: &_m.Mock}
}

// Health provides a mock function with no fields
func (_m *mockApiClientSys) Health() (*api.HealthResponse, error) {
	ret := _m.Called()

	if len(ret) == 0 {
		panic("no return value specified for Health")
	}

	var r0 *api.HealthResponse
	var r1 error
	if rf, ok := ret.Get(0).(func() (*api.HealthResponse, error)); ok {
		return rf()
	}
	if rf, ok := ret.Get(0).(func() *api.HealthResponse); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*api.HealthResponse)
		}
	}

	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

// mockApiClientSys_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
type mockApiClientSys_Health_Call struct {
	*mock.Call
}

// Health is a helper method to define mock.On call
func (_e *mockApiClientSys_Expecter) Health() *mockApiClientSys_Health_Call {
	return &mockApiClientSys_Health_Call{Call: _e.mock.On("Health")}
}

func (_c *mockApiClientSys_Health_Call) Run(run func()) *mockApiClientSys_Health_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *mockApiClientSys_Health_Call) Return(_a0 *api.HealthResponse, _a1 error) *mockApiClientSys_Health_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *mockApiClientSys_Health_Call) RunAndReturn(run func() (*api.HealthResponse, error)) *mockApiClientSys_Health_Call {
	_c.Call.Return(run)
	return _c
}

// newMockApiClientSys creates a new instance of mockApiClientSys. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func newMockApiClientSys(t interface {
	mock.TestingT
	Cleanup(func())
}) *mockApiClientSys {
	mock := &mockApiClientSys{}
	mock.Mock.Test(t)

	t.Cleanup(func() { mock.AssertExpectations(t) })

	return mock
}
