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

package mock

import (
	context "context"

	accounttypes "github.com/tidbcloud/dataflow-service/pkg/account/accounttypes"

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

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

// ListProjectMapByIDs provides a mock function with given fields: ctx, projectIDs
func (_m *ProjectWrapper) ListProjectMapByIDs(ctx context.Context, projectIDs []uint64) (map[uint64]accounttypes.Project, error) {
	ret := _m.Called(ctx, projectIDs)

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

	var r0 map[uint64]accounttypes.Project
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, []uint64) (map[uint64]accounttypes.Project, error)); ok {
		return rf(ctx, projectIDs)
	}
	if rf, ok := ret.Get(0).(func(context.Context, []uint64) map[uint64]accounttypes.Project); ok {
		r0 = rf(ctx, projectIDs)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(map[uint64]accounttypes.Project)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, []uint64) error); ok {
		r1 = rf(ctx, projectIDs)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

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

	return mock
}
