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

package mock

import (
	mock "github.com/stretchr/testify/mock"
	infraapi "github.com/tidbcloud/dataflow-service/pkg/infra-api"
)

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

// GetLightningConfigParam provides a mock function with no fields
func (_m *LightningGetter) GetLightningConfigParam() *infraapi.LightningConfigParam {
	ret := _m.Called()

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

	var r0 *infraapi.LightningConfigParam
	if rf, ok := ret.Get(0).(func() *infraapi.LightningConfigParam); ok {
		r0 = rf()
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*infraapi.LightningConfigParam)
		}
	}

	return r0
}

// TCName provides a mock function with given fields: clusterName
func (_m *LightningGetter) TCName(clusterName string) string {
	ret := _m.Called(clusterName)

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

	var r0 string
	if rf, ok := ret.Get(0).(func(string) string); ok {
		r0 = rf(clusterName)
	} else {
		r0 = ret.Get(0).(string)
	}

	return r0
}

// NewLightningGetter creates a new instance of LightningGetter. 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 NewLightningGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *LightningGetter {
	mock := &LightningGetter{}
	mock.Mock.Test(t)

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

	return mock
}
