// Code generated by mockery. DO NOT EDIT.

package mock_peermanager

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

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

type MockPeerToPeerStatus_Expecter struct {
	mock *mock.Mock
}

func (_m *MockPeerToPeerStatus) EXPECT() *MockPeerToPeerStatus_Expecter {
	return &MockPeerToPeerStatus_Expecter{mock: &_m.Mock}
}

// RegisterSpace provides a mock function with given fields: spaceId
func (_m *MockPeerToPeerStatus) RegisterSpace(spaceId string) {
	_m.Called(spaceId)
}

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

// RegisterSpace is a helper method to define mock.On call
//   - spaceId string
func (_e *MockPeerToPeerStatus_Expecter) RegisterSpace(spaceId interface{}) *MockPeerToPeerStatus_RegisterSpace_Call {
	return &MockPeerToPeerStatus_RegisterSpace_Call{Call: _e.mock.On("RegisterSpace", spaceId)}
}

func (_c *MockPeerToPeerStatus_RegisterSpace_Call) Run(run func(spaceId string)) *MockPeerToPeerStatus_RegisterSpace_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(string))
	})
	return _c
}

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

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

// UnregisterSpace provides a mock function with given fields: spaceId
func (_m *MockPeerToPeerStatus) UnregisterSpace(spaceId string) {
	_m.Called(spaceId)
}

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

// UnregisterSpace is a helper method to define mock.On call
//   - spaceId string
func (_e *MockPeerToPeerStatus_Expecter) UnregisterSpace(spaceId interface{}) *MockPeerToPeerStatus_UnregisterSpace_Call {
	return &MockPeerToPeerStatus_UnregisterSpace_Call{Call: _e.mock.On("UnregisterSpace", spaceId)}
}

func (_c *MockPeerToPeerStatus_UnregisterSpace_Call) Run(run func(spaceId string)) *MockPeerToPeerStatus_UnregisterSpace_Call {
	_c.Call.Run(func(args mock.Arguments) {
		run(args[0].(string))
	})
	return _c
}

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

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

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

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

	return mock
}
