func (mr *MockTransportMockRecorder) RequestVote(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RequestVote", reflect.TypeOf((*MockTransport)(nil).RequestVote), arg0, arg1, arg2, arg3)
}
RequestVote indicates an expected call of RequestVote
package mocks
import (
	gomock "github.com/golang/mock/gomock"
	raft "github.com/hashicorp/raft"
	io "io"
	reflect "reflect"
)
type MockTransport struct {
	ctrl     *gomock.Controller
	recorder *MockTransportMockRecorder
}
type MockTransportMockRecorder struct {
	mock *MockTransport
}
func NewMockTransport(ctrl *gomock.Controller) *MockTransport {
	mock := &MockTransport{ctrl: ctrl}
	mock.recorder = &MockTransportMockRecorder{mock}
	return mock
}
func (m *MockTransport) EXPECT() *MockTransportMockRecorder {
	return m.recorder
}
func (m *MockTransport) AppendEntries(arg0 raft.ServerID, arg1 raft.ServerAddress, arg2 *raft.AppendEntriesRequest, arg3 *raft.AppendEntriesResponse) error {
	ret := m.ctrl.Call(m, "AppendEntries", arg0, arg1, arg2, arg3)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockTransportMockRecorder) AppendEntries(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendEntries", reflect.TypeOf((*MockTransport)(nil).AppendEntries), arg0, arg1, arg2, arg3)
}
func (m *MockTransport) AppendEntriesPipeline(arg0 raft.ServerID, arg1 raft.ServerAddress) (raft.AppendPipeline, error) {
	ret := m.ctrl.Call(m, "AppendEntriesPipeline", arg0, arg1)
	ret0, _ := ret[0].(raft.AppendPipeline)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockTransportMockRecorder) AppendEntriesPipeline(arg0, arg1 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendEntriesPipeline", reflect.TypeOf((*MockTransport)(nil).AppendEntriesPipeline), arg0, arg1)
}
func (m *MockTransport) Consumer() <-chan raft.RPC {
	ret := m.ctrl.Call(m, "Consumer")
	ret0, _ := ret[0].(<-chan raft.RPC)
	return ret0
}
func (mr *MockTransportMockRecorder) Consumer() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Consumer", reflect.TypeOf((*MockTransport)(nil).Consumer))
}
func (m *MockTransport) DecodePeer(arg0 []byte) raft.ServerAddress {
	ret := m.ctrl.Call(m, "DecodePeer", arg0)
	ret0, _ := ret[0].(raft.ServerAddress)
	return ret0
}
func (mr *MockTransportMockRecorder) DecodePeer(arg0 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecodePeer", reflect.TypeOf((*MockTransport)(nil).DecodePeer), arg0)
}
func (m *MockTransport) EncodePeer(arg0 raft.ServerID, arg1 raft.ServerAddress) []byte {
	ret := m.ctrl.Call(m, "EncodePeer", arg0, arg1)
	ret0, _ := ret[0].([]byte)
	return ret0
}
func (mr *MockTransportMockRecorder) EncodePeer(arg0, arg1 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncodePeer", reflect.TypeOf((*MockTransport)(nil).EncodePeer), arg0, arg1)
}
func (m *MockTransport) InstallSnapshot(arg0 raft.ServerID, arg1 raft.ServerAddress, arg2 *raft.InstallSnapshotRequest, arg3 *raft.InstallSnapshotResponse, arg4 io.Reader) error {
	ret := m.ctrl.Call(m, "InstallSnapshot", arg0, arg1, arg2, arg3, arg4)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockTransportMockRecorder) InstallSnapshot(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstallSnapshot", reflect.TypeOf((*MockTransport)(nil).InstallSnapshot), arg0, arg1, arg2, arg3, arg4)
}
func (m *MockTransport) LocalAddr() raft.ServerAddress {
	ret := m.ctrl.Call(m, "LocalAddr")
	ret0, _ := ret[0].(raft.ServerAddress)
	return ret0
}
func (mr *MockTransportMockRecorder) LocalAddr() *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LocalAddr", reflect.TypeOf((*MockTransport)(nil).LocalAddr))
}
func (m *MockTransport) RequestVote(arg0 raft.ServerID, arg1 raft.ServerAddress, arg2 *raft.RequestVoteRequest, arg3 *raft.RequestVoteResponse) error {
	ret := m.ctrl.Call(m, "RequestVote", arg0, arg1, arg2, arg3)
	ret0, _ := ret[0].(error)
	return ret0
}