// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/google/trillian (interfaces: TrillianMapServer)

// Package tmock is a generated GoMock package.
package tmock

import (
	context "context"
	gomock "github.com/golang/mock/gomock"
	trillian "github.com/google/trillian"
	reflect "reflect"
)

// MockTrillianMapServer is a mock of TrillianMapServer interface
type MockTrillianMapServer struct {
	ctrl     *gomock.Controller
	recorder *MockTrillianMapServerMockRecorder
}

// MockTrillianMapServerMockRecorder is the mock recorder for MockTrillianMapServer
type MockTrillianMapServerMockRecorder struct {
	mock *MockTrillianMapServer
}

// NewMockTrillianMapServer creates a new mock instance
func NewMockTrillianMapServer(ctrl *gomock.Controller) *MockTrillianMapServer {
	mock := &MockTrillianMapServer{ctrl: ctrl}
	mock.recorder = &MockTrillianMapServerMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockTrillianMapServer) EXPECT() *MockTrillianMapServerMockRecorder {
	return m.recorder
}

// GetLastInRangeByRevision mocks base method
func (m *MockTrillianMapServer) GetLastInRangeByRevision(arg0 context.Context, arg1 *trillian.GetLastInRangeByRevisionRequest) (*trillian.MapLeaf, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLastInRangeByRevision", arg0, arg1)
	ret0, _ := ret[0].(*trillian.MapLeaf)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetLastInRangeByRevision indicates an expected call of GetLastInRangeByRevision
func (mr *MockTrillianMapServerMockRecorder) GetLastInRangeByRevision(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLastInRangeByRevision", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLastInRangeByRevision), arg0, arg1)
}

// GetLeaf mocks base method
func (m *MockTrillianMapServer) GetLeaf(arg0 context.Context, arg1 *trillian.GetMapLeafRequest) (*trillian.GetMapLeafResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLeaf", arg0, arg1)
	ret0, _ := ret[0].(*trillian.GetMapLeafResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetLeaf indicates an expected call of GetLeaf
func (mr *MockTrillianMapServerMockRecorder) GetLeaf(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLeaf", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLeaf), arg0, arg1)
}

// GetLeafByRevision mocks base method
func (m *MockTrillianMapServer) GetLeafByRevision(arg0 context.Context, arg1 *trillian.GetMapLeafByRevisionRequest) (*trillian.GetMapLeafResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLeafByRevision", arg0, arg1)
	ret0, _ := ret[0].(*trillian.GetMapLeafResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetLeafByRevision indicates an expected call of GetLeafByRevision
func (mr *MockTrillianMapServerMockRecorder) GetLeafByRevision(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLeafByRevision", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLeafByRevision), arg0, arg1)
}

// GetLeaves mocks base method
func (m *MockTrillianMapServer) GetLeaves(arg0 context.Context, arg1 *trillian.GetMapLeavesRequest) (*trillian.GetMapLeavesResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLeaves", arg0, arg1)
	ret0, _ := ret[0].(*trillian.GetMapLeavesResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetLeaves indicates an expected call of GetLeaves
func (mr *MockTrillianMapServerMockRecorder) GetLeaves(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLeaves", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLeaves), arg0, arg1)
}

// GetLeavesByRevision mocks base method
func (m *MockTrillianMapServer) GetLeavesByRevision(arg0 context.Context, arg1 *trillian.GetMapLeavesByRevisionRequest) (*trillian.GetMapLeavesResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLeavesByRevision", arg0, arg1)
	ret0, _ := ret[0].(*trillian.GetMapLeavesResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetLeavesByRevision indicates an expected call of GetLeavesByRevision
func (mr *MockTrillianMapServerMockRecorder) GetLeavesByRevision(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLeavesByRevision", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLeavesByRevision), arg0, arg1)
}

// GetLeavesByRevisionNoProof mocks base method
func (m *MockTrillianMapServer) GetLeavesByRevisionNoProof(arg0 context.Context, arg1 *trillian.GetMapLeavesByRevisionRequest) (*trillian.MapLeaves, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetLeavesByRevisionNoProof", arg0, arg1)
	ret0, _ := ret[0].(*trillian.MapLeaves)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetLeavesByRevisionNoProof indicates an expected call of GetLeavesByRevisionNoProof
func (mr *MockTrillianMapServerMockRecorder) GetLeavesByRevisionNoProof(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLeavesByRevisionNoProof", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLeavesByRevisionNoProof), arg0, arg1)
}

// GetSignedMapRoot mocks base method
func (m *MockTrillianMapServer) GetSignedMapRoot(arg0 context.Context, arg1 *trillian.GetSignedMapRootRequest) (*trillian.GetSignedMapRootResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetSignedMapRoot", arg0, arg1)
	ret0, _ := ret[0].(*trillian.GetSignedMapRootResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetSignedMapRoot indicates an expected call of GetSignedMapRoot
func (mr *MockTrillianMapServerMockRecorder) GetSignedMapRoot(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSignedMapRoot", reflect.TypeOf((*MockTrillianMapServer)(nil).GetSignedMapRoot), arg0, arg1)
}

// GetSignedMapRootByRevision mocks base method
func (m *MockTrillianMapServer) GetSignedMapRootByRevision(arg0 context.Context, arg1 *trillian.GetSignedMapRootByRevisionRequest) (*trillian.GetSignedMapRootResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetSignedMapRootByRevision", arg0, arg1)
	ret0, _ := ret[0].(*trillian.GetSignedMapRootResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// GetSignedMapRootByRevision indicates an expected call of GetSignedMapRootByRevision
func (mr *MockTrillianMapServerMockRecorder) GetSignedMapRootByRevision(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSignedMapRootByRevision", reflect.TypeOf((*MockTrillianMapServer)(nil).GetSignedMapRootByRevision), arg0, arg1)
}

// InitMap mocks base method
func (m *MockTrillianMapServer) InitMap(arg0 context.Context, arg1 *trillian.InitMapRequest) (*trillian.InitMapResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "InitMap", arg0, arg1)
	ret0, _ := ret[0].(*trillian.InitMapResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// InitMap indicates an expected call of InitMap
func (mr *MockTrillianMapServerMockRecorder) InitMap(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitMap", reflect.TypeOf((*MockTrillianMapServer)(nil).InitMap), arg0, arg1)
}

// SetLeaves mocks base method
func (m *MockTrillianMapServer) SetLeaves(arg0 context.Context, arg1 *trillian.SetMapLeavesRequest) (*trillian.SetMapLeavesResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SetLeaves", arg0, arg1)
	ret0, _ := ret[0].(*trillian.SetMapLeavesResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SetLeaves indicates an expected call of SetLeaves
func (mr *MockTrillianMapServerMockRecorder) SetLeaves(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLeaves", reflect.TypeOf((*MockTrillianMapServer)(nil).SetLeaves), arg0, arg1)
}
