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

package mocks

import mock "github.com/stretchr/testify/mock"

// ConstructRuntimeApi is an autogenerated mock type for the ConstructRuntimeApi type
type ConstructRuntimeApi[RuntimeAPI interface{}] struct {
	mock.Mock
}

type ConstructRuntimeApi_Expecter[RuntimeAPI interface{}] struct {
	mock *mock.Mock
}

func (_m *ConstructRuntimeApi[RuntimeAPI]) EXPECT() *ConstructRuntimeApi_Expecter[RuntimeAPI] {
	return &ConstructRuntimeApi_Expecter[RuntimeAPI]{mock: &_m.Mock}
}

// ConstructRuntimeAPI provides a mock function with no fields
func (_m *ConstructRuntimeApi[RuntimeAPI]) ConstructRuntimeAPI() RuntimeAPI {
	ret := _m.Called()

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

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

	return r0
}

// ConstructRuntimeApi_ConstructRuntimeAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConstructRuntimeAPI'
type ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI interface{}] struct {
	*mock.Call
}

// ConstructRuntimeAPI is a helper method to define mock.On call
func (_e *ConstructRuntimeApi_Expecter[RuntimeAPI]) ConstructRuntimeAPI() *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI] {
	return &ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI]{Call: _e.mock.On("ConstructRuntimeAPI")}
}

func (_c *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI]) Run(run func()) *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI] {
	_c.Call.Run(func(args mock.Arguments) {
		run()
	})
	return _c
}

func (_c *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI]) Return(_a0 RuntimeAPI) *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI] {
	_c.Call.Return(_a0)
	return _c
}

func (_c *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI]) RunAndReturn(run func() RuntimeAPI) *ConstructRuntimeApi_ConstructRuntimeAPI_Call[RuntimeAPI] {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
