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

package datacoord

import (
	indexpb "github.com/milvus-io/milvus/pkg/v3/proto/indexpb"
	mock "github.com/stretchr/testify/mock"

	semver "github.com/blang/semver/v4"

	sessionutil "github.com/milvus-io/milvus/internal/util/sessionutil"
)

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

type MockVersionManager_Expecter struct {
	mock *mock.Mock
}

func (_m *MockVersionManager) EXPECT() *MockVersionManager_Expecter {
	return &MockVersionManager_Expecter{mock: &_m.Mock}
}

// AddNode provides a mock function with given fields: session
func (_m *MockVersionManager) AddNode(session *sessionutil.Session) {
	_m.Called(session)
}

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

// AddNode is a helper method to define mock.On call
//   - session *sessionutil.Session
func (_e *MockVersionManager_Expecter) AddNode(session interface{}) *MockVersionManager_AddNode_Call {
	return &MockVersionManager_AddNode_Call{Call: _e.mock.On("AddNode", session)}
}

func (_c *MockVersionManager_AddNode_Call) Run(run func(session *sessionutil.Session)) *MockVersionManager_AddNode_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*sessionutil.Session))
	})
	return _c
}

func (_c *MockVersionManager_AddNode_Call) Return() *MockVersionManager_AddNode_Call {
	_c.Call.Return()
	return _c
}

func (_c *MockVersionManager_AddNode_Call) RunAndReturn(run func(*sessionutil.Session)) *MockVersionManager_AddNode_Call {
	_c.Run(run)
	return _c
}

// GetClusterMinIndexStorePathVersion provides a mock function with no fields
func (_m *MockVersionManager) GetClusterMinIndexStorePathVersion() indexpb.IndexStorePathVersion {
	ret := _m.Called()

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

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

	return r0
}

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

// GetClusterMinIndexStorePathVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetClusterMinIndexStorePathVersion() *MockVersionManager_GetClusterMinIndexStorePathVersion_Call {
	return &MockVersionManager_GetClusterMinIndexStorePathVersion_Call{Call: _e.mock.On("GetClusterMinIndexStorePathVersion")}
}

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

func (_c *MockVersionManager_GetClusterMinIndexStorePathVersion_Call) Return(_a0 indexpb.IndexStorePathVersion) *MockVersionManager_GetClusterMinIndexStorePathVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetClusterMinIndexStorePathVersion_Call) RunAndReturn(run func() indexpb.IndexStorePathVersion) *MockVersionManager_GetClusterMinIndexStorePathVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetCurrentIndexEngineVersion provides a mock function with no fields
func (_m *MockVersionManager) GetCurrentIndexEngineVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// GetCurrentIndexEngineVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetCurrentIndexEngineVersion() *MockVersionManager_GetCurrentIndexEngineVersion_Call {
	return &MockVersionManager_GetCurrentIndexEngineVersion_Call{Call: _e.mock.On("GetCurrentIndexEngineVersion")}
}

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

func (_c *MockVersionManager_GetCurrentIndexEngineVersion_Call) Return(_a0 int32) *MockVersionManager_GetCurrentIndexEngineVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetCurrentIndexEngineVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_GetCurrentIndexEngineVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetCurrentScalarIndexEngineVersion provides a mock function with no fields
func (_m *MockVersionManager) GetCurrentScalarIndexEngineVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// GetCurrentScalarIndexEngineVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetCurrentScalarIndexEngineVersion() *MockVersionManager_GetCurrentScalarIndexEngineVersion_Call {
	return &MockVersionManager_GetCurrentScalarIndexEngineVersion_Call{Call: _e.mock.On("GetCurrentScalarIndexEngineVersion")}
}

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

func (_c *MockVersionManager_GetCurrentScalarIndexEngineVersion_Call) Return(_a0 int32) *MockVersionManager_GetCurrentScalarIndexEngineVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetCurrentScalarIndexEngineVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_GetCurrentScalarIndexEngineVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetIndexNonEncoding provides a mock function with no fields
func (_m *MockVersionManager) GetIndexNonEncoding() bool {
	ret := _m.Called()

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

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

	return r0
}

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

// GetIndexNonEncoding is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetIndexNonEncoding() *MockVersionManager_GetIndexNonEncoding_Call {
	return &MockVersionManager_GetIndexNonEncoding_Call{Call: _e.mock.On("GetIndexNonEncoding")}
}

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

func (_c *MockVersionManager_GetIndexNonEncoding_Call) Return(_a0 bool) *MockVersionManager_GetIndexNonEncoding_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetIndexNonEncoding_Call) RunAndReturn(run func() bool) *MockVersionManager_GetIndexNonEncoding_Call {
	_c.Call.Return(run)
	return _c
}

// GetMaximumIndexEngineVersion provides a mock function with no fields
func (_m *MockVersionManager) GetMaximumIndexEngineVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// GetMaximumIndexEngineVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetMaximumIndexEngineVersion() *MockVersionManager_GetMaximumIndexEngineVersion_Call {
	return &MockVersionManager_GetMaximumIndexEngineVersion_Call{Call: _e.mock.On("GetMaximumIndexEngineVersion")}
}

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

func (_c *MockVersionManager_GetMaximumIndexEngineVersion_Call) Return(_a0 int32) *MockVersionManager_GetMaximumIndexEngineVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetMaximumIndexEngineVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_GetMaximumIndexEngineVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetMaximumScalarIndexEngineVersion provides a mock function with no fields
func (_m *MockVersionManager) GetMaximumScalarIndexEngineVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// GetMaximumScalarIndexEngineVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetMaximumScalarIndexEngineVersion() *MockVersionManager_GetMaximumScalarIndexEngineVersion_Call {
	return &MockVersionManager_GetMaximumScalarIndexEngineVersion_Call{Call: _e.mock.On("GetMaximumScalarIndexEngineVersion")}
}

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

func (_c *MockVersionManager_GetMaximumScalarIndexEngineVersion_Call) Return(_a0 int32) *MockVersionManager_GetMaximumScalarIndexEngineVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetMaximumScalarIndexEngineVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_GetMaximumScalarIndexEngineVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetMinimalIndexEngineVersion provides a mock function with no fields
func (_m *MockVersionManager) GetMinimalIndexEngineVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// GetMinimalIndexEngineVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetMinimalIndexEngineVersion() *MockVersionManager_GetMinimalIndexEngineVersion_Call {
	return &MockVersionManager_GetMinimalIndexEngineVersion_Call{Call: _e.mock.On("GetMinimalIndexEngineVersion")}
}

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

func (_c *MockVersionManager_GetMinimalIndexEngineVersion_Call) Return(_a0 int32) *MockVersionManager_GetMinimalIndexEngineVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetMinimalIndexEngineVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_GetMinimalIndexEngineVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetMinimalScalarIndexEngineVersion provides a mock function with no fields
func (_m *MockVersionManager) GetMinimalScalarIndexEngineVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// GetMinimalScalarIndexEngineVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetMinimalScalarIndexEngineVersion() *MockVersionManager_GetMinimalScalarIndexEngineVersion_Call {
	return &MockVersionManager_GetMinimalScalarIndexEngineVersion_Call{Call: _e.mock.On("GetMinimalScalarIndexEngineVersion")}
}

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

func (_c *MockVersionManager_GetMinimalScalarIndexEngineVersion_Call) Return(_a0 int32) *MockVersionManager_GetMinimalScalarIndexEngineVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetMinimalScalarIndexEngineVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_GetMinimalScalarIndexEngineVersion_Call {
	_c.Call.Return(run)
	return _c
}

// GetMinimalSessionVer provides a mock function with no fields
func (_m *MockVersionManager) GetMinimalSessionVer() semver.Version {
	ret := _m.Called()

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

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

	return r0
}

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

// GetMinimalSessionVer is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) GetMinimalSessionVer() *MockVersionManager_GetMinimalSessionVer_Call {
	return &MockVersionManager_GetMinimalSessionVer_Call{Call: _e.mock.On("GetMinimalSessionVer")}
}

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

func (_c *MockVersionManager_GetMinimalSessionVer_Call) Return(_a0 semver.Version) *MockVersionManager_GetMinimalSessionVer_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_GetMinimalSessionVer_Call) RunAndReturn(run func() semver.Version) *MockVersionManager_GetMinimalSessionVer_Call {
	_c.Call.Return(run)
	return _c
}

// RemoveNode provides a mock function with given fields: session
func (_m *MockVersionManager) RemoveNode(session *sessionutil.Session) {
	_m.Called(session)
}

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

// RemoveNode is a helper method to define mock.On call
//   - session *sessionutil.Session
func (_e *MockVersionManager_Expecter) RemoveNode(session interface{}) *MockVersionManager_RemoveNode_Call {
	return &MockVersionManager_RemoveNode_Call{Call: _e.mock.On("RemoveNode", session)}
}

func (_c *MockVersionManager_RemoveNode_Call) Run(run func(session *sessionutil.Session)) *MockVersionManager_RemoveNode_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*sessionutil.Session))
	})
	return _c
}

func (_c *MockVersionManager_RemoveNode_Call) Return() *MockVersionManager_RemoveNode_Call {
	_c.Call.Return()
	return _c
}

func (_c *MockVersionManager_RemoveNode_Call) RunAndReturn(run func(*sessionutil.Session)) *MockVersionManager_RemoveNode_Call {
	_c.Run(run)
	return _c
}

// ResolveScalarIndexVersion provides a mock function with no fields
func (_m *MockVersionManager) ResolveScalarIndexVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// ResolveScalarIndexVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) ResolveScalarIndexVersion() *MockVersionManager_ResolveScalarIndexVersion_Call {
	return &MockVersionManager_ResolveScalarIndexVersion_Call{Call: _e.mock.On("ResolveScalarIndexVersion")}
}

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

func (_c *MockVersionManager_ResolveScalarIndexVersion_Call) Return(_a0 int32) *MockVersionManager_ResolveScalarIndexVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_ResolveScalarIndexVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_ResolveScalarIndexVersion_Call {
	_c.Call.Return(run)
	return _c
}

// ResolveVecIndexVersion provides a mock function with no fields
func (_m *MockVersionManager) ResolveVecIndexVersion() int32 {
	ret := _m.Called()

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

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

	return r0
}

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

// ResolveVecIndexVersion is a helper method to define mock.On call
func (_e *MockVersionManager_Expecter) ResolveVecIndexVersion() *MockVersionManager_ResolveVecIndexVersion_Call {
	return &MockVersionManager_ResolveVecIndexVersion_Call{Call: _e.mock.On("ResolveVecIndexVersion")}
}

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

func (_c *MockVersionManager_ResolveVecIndexVersion_Call) Return(_a0 int32) *MockVersionManager_ResolveVecIndexVersion_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockVersionManager_ResolveVecIndexVersion_Call) RunAndReturn(run func() int32) *MockVersionManager_ResolveVecIndexVersion_Call {
	_c.Call.Return(run)
	return _c
}

// Startup provides a mock function with given fields: sessions
func (_m *MockVersionManager) Startup(sessions map[string]*sessionutil.Session) {
	_m.Called(sessions)
}

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

// Startup is a helper method to define mock.On call
//   - sessions map[string]*sessionutil.Session
func (_e *MockVersionManager_Expecter) Startup(sessions interface{}) *MockVersionManager_Startup_Call {
	return &MockVersionManager_Startup_Call{Call: _e.mock.On("Startup", sessions)}
}

func (_c *MockVersionManager_Startup_Call) Run(run func(sessions map[string]*sessionutil.Session)) *MockVersionManager_Startup_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(map[string]*sessionutil.Session))
	})
	return _c
}

func (_c *MockVersionManager_Startup_Call) Return() *MockVersionManager_Startup_Call {
	_c.Call.Return()
	return _c
}

func (_c *MockVersionManager_Startup_Call) RunAndReturn(run func(map[string]*sessionutil.Session)) *MockVersionManager_Startup_Call {
	_c.Run(run)
	return _c
}

// Update provides a mock function with given fields: session
func (_m *MockVersionManager) Update(session *sessionutil.Session) {
	_m.Called(session)
}

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

// Update is a helper method to define mock.On call
//   - session *sessionutil.Session
func (_e *MockVersionManager_Expecter) Update(session interface{}) *MockVersionManager_Update_Call {
	return &MockVersionManager_Update_Call{Call: _e.mock.On("Update", session)}
}

func (_c *MockVersionManager_Update_Call) Run(run func(session *sessionutil.Session)) *MockVersionManager_Update_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(*sessionutil.Session))
	})
	return _c
}

func (_c *MockVersionManager_Update_Call) Return() *MockVersionManager_Update_Call {
	_c.Call.Return()
	return _c
}

func (_c *MockVersionManager_Update_Call) RunAndReturn(run func(*sessionutil.Session)) *MockVersionManager_Update_Call {
	_c.Run(run)
	return _c
}

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

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

	return mock
}
