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

package mock

import (
	mock "github.com/stretchr/testify/mock"
	entity "github.com/tidbcloud/dataflow-service-ng/app/repo/entity"
)

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

// GetID provides a mock function with no fields
func (_m *IdAndVersioning) GetID() entity.ID {
	ret := _m.Called()

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

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

	return r0
}

// GetVersioning provides a mock function with no fields
func (_m *IdAndVersioning) GetVersioning() int {
	ret := _m.Called()

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

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

	return r0
}

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

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

	return mock
}
