func (m *MocknetworkInterface) Request(arg0 context.Context, arg1 p2p.Peer, arg2 []byte, arg3 func([]byte), arg4 func(error)) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Request", arg0, arg1, arg2, arg3, arg4)
	ret0, _ := ret[0].(error)
	return ret0
}
Request mocks base method.
package mocks
import (
	context "context"
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
	types "github.com/spacemeshos/go-spacemesh/common/types"
	database "github.com/spacemeshos/go-spacemesh/database"
	fetch "github.com/spacemeshos/go-spacemesh/fetch"
	p2p "github.com/spacemeshos/go-spacemesh/p2p"
)
type MockFetcher struct {
	ctrl     *gomock.Controller
	recorder *MockFetcherMockRecorder
}
type MockFetcherMockRecorder struct {
	mock *MockFetcher
}
func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher {
	mock := &MockFetcher{ctrl: ctrl}
	mock.recorder = &MockFetcherMockRecorder{mock}
	return mock
}
func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder {
	return m.recorder
}
func (m *MockFetcher) AddDB(hint fetch.Hint, db database.Getter) {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "AddDB", hint, db)
}
func (mr *MockFetcherMockRecorder) AddDB(hint, db interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddDB", reflect.TypeOf((*MockFetcher)(nil).AddDB), hint, db)
}
func (m *MockFetcher) GetHash(hash types.Hash32, h fetch.Hint, validateHash bool) chan fetch.HashDataPromiseResult {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetHash", hash, h, validateHash)
	ret0, _ := ret[0].(chan fetch.HashDataPromiseResult)
	return ret0
}
func (mr *MockFetcherMockRecorder) GetHash(hash, h, validateHash interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHash", reflect.TypeOf((*MockFetcher)(nil).GetHash), hash, h, validateHash)
}
func (m *MockFetcher) GetHashes(hash []types.Hash32, hint fetch.Hint, validateHash bool) map[types.Hash32]chan fetch.HashDataPromiseResult {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetHashes", hash, hint, validateHash)
	ret0, _ := ret[0].(map[types.Hash32]chan fetch.HashDataPromiseResult)
	return ret0
}
func (mr *MockFetcherMockRecorder) GetHashes(hash, hint, validateHash interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHashes", reflect.TypeOf((*MockFetcher)(nil).GetHashes), hash, hint, validateHash)
}
func (m *MockFetcher) Start() {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Start")
}
func (mr *MockFetcherMockRecorder) Start() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockFetcher)(nil).Start))
}
func (m *MockFetcher) Stop() {
	m.ctrl.T.Helper()
	m.ctrl.Call(m, "Stop")
}
func (mr *MockFetcherMockRecorder) Stop() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockFetcher)(nil).Stop))
}
type MocknetworkInterface struct {
	ctrl     *gomock.Controller
	recorder *MocknetworkInterfaceMockRecorder
}
type MocknetworkInterfaceMockRecorder struct {
	mock *MocknetworkInterface
}
func NewMocknetworkInterface(ctrl *gomock.Controller) *MocknetworkInterface {
	mock := &MocknetworkInterface{ctrl: ctrl}
	mock.recorder = &MocknetworkInterfaceMockRecorder{mock}
	return mock
}
func (m *MocknetworkInterface) EXPECT() *MocknetworkInterfaceMockRecorder {
	return m.recorder
}
func (m *MocknetworkInterface) Close() error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Close")
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MocknetworkInterfaceMockRecorder) Close() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MocknetworkInterface)(nil).Close))
}
func (m *MocknetworkInterface) GetPeers() []p2p.Peer {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetPeers")
	ret0, _ := ret[0].([]p2p.Peer)
	return ret0
}
func (mr *MocknetworkInterfaceMockRecorder) GetPeers() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPeers", reflect.TypeOf((*MocknetworkInterface)(nil).GetPeers))
}
func (m *MocknetworkInterface) PeerCount() uint64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "PeerCount")
	ret0, _ := ret[0].(uint64)
	return ret0
}
func (mr *MocknetworkInterfaceMockRecorder) PeerCount() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PeerCount", reflect.TypeOf((*MocknetworkInterface)(nil).PeerCount))
}