// Code generated by mockery. DO NOT EDIT.

package mock_domain

import (
	domain "github.com/anyproto/anytype-heart/core/domain"
	mock "github.com/stretchr/testify/mock"
)

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

type MockInviteObject_Expecter struct {
	mock *mock.Mock
}

func (_m *MockInviteObject) EXPECT() *MockInviteObject_Expecter {
	return &MockInviteObject_Expecter{mock: &_m.Mock}
}

// GetExistingGuestInviteInfo provides a mock function with given fields:
func (_m *MockInviteObject) GetExistingGuestInviteInfo() (string, string) {
	ret := _m.Called()

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

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

	if rf, ok := ret.Get(1).(func() string); ok {
		r1 = rf()
	} else {
		r1 = ret.Get(1).(string)
	}

	return r0, r1
}

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

// GetExistingGuestInviteInfo is a helper method to define mock.On call
func (_e *MockInviteObject_Expecter) GetExistingGuestInviteInfo() *MockInviteObject_GetExistingGuestInviteInfo_Call {
	return &MockInviteObject_GetExistingGuestInviteInfo_Call{Call: _e.mock.On("GetExistingGuestInviteInfo")}
}

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

func (_c *MockInviteObject_GetExistingGuestInviteInfo_Call) Return(fileCid string, fileKey string) *MockInviteObject_GetExistingGuestInviteInfo_Call {
	_c.Call.Return(fileCid, fileKey)
	return _c
}

func (_c *MockInviteObject_GetExistingGuestInviteInfo_Call) RunAndReturn(run func() (string, string)) *MockInviteObject_GetExistingGuestInviteInfo_Call {
	_c.Call.Return(run)
	return _c
}

// GetExistingInviteInfo provides a mock function with given fields:
func (_m *MockInviteObject) GetExistingInviteInfo() domain.InviteInfo {
	ret := _m.Called()

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

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

	return r0
}

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

// GetExistingInviteInfo is a helper method to define mock.On call
func (_e *MockInviteObject_Expecter) GetExistingInviteInfo() *MockInviteObject_GetExistingInviteInfo_Call {
	return &MockInviteObject_GetExistingInviteInfo_Call{Call: _e.mock.On("GetExistingInviteInfo")}
}

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

func (_c *MockInviteObject_GetExistingInviteInfo_Call) Return(_a0 domain.InviteInfo) *MockInviteObject_GetExistingInviteInfo_Call {
	_c.Call.Return(_a0)
	return _c
}

func (_c *MockInviteObject_GetExistingInviteInfo_Call) RunAndReturn(run func() domain.InviteInfo) *MockInviteObject_GetExistingInviteInfo_Call {
	_c.Call.Return(run)
	return _c
}

// RemoveExistingInviteInfo provides a mock function with given fields:
func (_m *MockInviteObject) RemoveExistingInviteInfo() (domain.InviteInfo, error) {
	ret := _m.Called()

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

	var r0 domain.InviteInfo
	var r1 error
	if rf, ok := ret.Get(0).(func() (domain.InviteInfo, error)); ok {
		return rf()
	}
	if rf, ok := ret.Get(0).(func() domain.InviteInfo); ok {
		r0 = rf()
	} else {
		r0 = ret.Get(0).(domain.InviteInfo)
	}

	if rf, ok := ret.Get(1).(func() error); ok {
		r1 = rf()
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}

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

// RemoveExistingInviteInfo is a helper method to define mock.On call
func (_e *MockInviteObject_Expecter) RemoveExistingInviteInfo() *MockInviteObject_RemoveExistingInviteInfo_Call {
	return &MockInviteObject_RemoveExistingInviteInfo_Call{Call: _e.mock.On("RemoveExistingInviteInfo")}
}

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

func (_c *MockInviteObject_RemoveExistingInviteInfo_Call) Return(_a0 domain.InviteInfo, _a1 error) *MockInviteObject_RemoveExistingInviteInfo_Call {
	_c.Call.Return(_a0, _a1)
	return _c
}

func (_c *MockInviteObject_RemoveExistingInviteInfo_Call) RunAndReturn(run func() (domain.InviteInfo, error)) *MockInviteObject_RemoveExistingInviteInfo_Call {
	_c.Call.Return(run)
	return _c
}

// SetGuestInviteFileInfo provides a mock function with given fields: fileCid, fileKey
func (_m *MockInviteObject) SetGuestInviteFileInfo(fileCid string, fileKey string) error {
	ret := _m.Called(fileCid, fileKey)

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

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

	return r0
}

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

// SetGuestInviteFileInfo is a helper method to define mock.On call
//   - fileCid string
//   - fileKey string
func (_e *MockInviteObject_Expecter) SetGuestInviteFileInfo(fileCid interface{}, fileKey interface{}) *MockInviteObject_SetGuestInviteFileInfo_Call {
	return &MockInviteObject_SetGuestInviteFileInfo_Call{Call: _e.mock.On("SetGuestInviteFileInfo", fileCid, fileKey)}
}

func (_c *MockInviteObject_SetGuestInviteFileInfo_Call) Run(run func(fileCid string, fileKey string)) *MockInviteObject_SetGuestInviteFileInfo_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(string), args[1].(string))
	})
	return _c
}

func (_c *MockInviteObject_SetGuestInviteFileInfo_Call) Return(err error) *MockInviteObject_SetGuestInviteFileInfo_Call {
	_c.Call.Return(err)
	return _c
}

func (_c *MockInviteObject_SetGuestInviteFileInfo_Call) RunAndReturn(run func(string, string) error) *MockInviteObject_SetGuestInviteFileInfo_Call {
	_c.Call.Return(run)
	return _c
}

// SetInviteFileInfo provides a mock function with given fields: inviteInfo
func (_m *MockInviteObject) SetInviteFileInfo(inviteInfo domain.InviteInfo) error {
	ret := _m.Called(inviteInfo)

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

	var r0 error
	if rf, ok := ret.Get(0).(func(domain.InviteInfo) error); ok {
		r0 = rf(inviteInfo)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

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

// SetInviteFileInfo is a helper method to define mock.On call
//   - inviteInfo domain.InviteInfo
func (_e *MockInviteObject_Expecter) SetInviteFileInfo(inviteInfo interface{}) *MockInviteObject_SetInviteFileInfo_Call {
	return &MockInviteObject_SetInviteFileInfo_Call{Call: _e.mock.On("SetInviteFileInfo", inviteInfo)}
}

func (_c *MockInviteObject_SetInviteFileInfo_Call) Run(run func(inviteInfo domain.InviteInfo)) *MockInviteObject_SetInviteFileInfo_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(domain.InviteInfo))
	})
	return _c
}

func (_c *MockInviteObject_SetInviteFileInfo_Call) Return(err error) *MockInviteObject_SetInviteFileInfo_Call {
	_c.Call.Return(err)
	return _c
}

func (_c *MockInviteObject_SetInviteFileInfo_Call) RunAndReturn(run func(domain.InviteInfo) error) *MockInviteObject_SetInviteFileInfo_Call {
	_c.Call.Return(run)
	return _c
}

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

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

	return mock
}
