// 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
}

// GetLeaves mocks base method
func (m *MockTrillianMapServer) GetLeaves(arg0 context.Context, arg1 *trillian.GetMapLeavesRequest) (*trillian.GetMapLeavesResponse, error) {
	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 {
	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) {
	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 {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLeavesByRevision", reflect.TypeOf((*MockTrillianMapServer)(nil).GetLeavesByRevision), arg0, arg1)
}

// GetSignedMapRoot mocks base method
func (m *MockTrillianMapServer) GetSignedMapRoot(arg0 context.Context, arg1 *trillian.GetSignedMapRootRequest) (*trillian.GetSignedMapRootResponse, error) {
	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 {
	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) {
	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 {
	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) {
	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 {
	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) {
	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 {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLeaves", reflect.TypeOf((*MockTrillianMapServer)(nil).SetLeaves), arg0, arg1)
}
