func (mr *MockStorageMockRecorder) UpsertInvertedIndex(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsertInvertedIndex", reflect.TypeOf((*MockStorage)(nil).UpsertInvertedIndex), arg0)
}
UpsertInvertedIndex indicates an expected call of UpsertInvertedIndex.
package stalefish
import (
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
)
type MockStorage struct {
	ctrl     *gomock.Controller
	recorder *MockStorageMockRecorder
}
type MockStorageMockRecorder struct {
	mock *MockStorage
}
func NewMockStorage(ctrl *gomock.Controller) *MockStorage {
	mock := &MockStorage{ctrl: ctrl}
	mock.recorder = &MockStorageMockRecorder{mock}
	return mock
}
func (m *MockStorage) EXPECT() *MockStorageMockRecorder {
	return m.recorder
}
func (m *MockStorage) AddDocument(arg0 Document) (DocumentID, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AddDocument", arg0)
	ret0, _ := ret[0].(DocumentID)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) AddDocument(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddDocument", reflect.TypeOf((*MockStorage)(nil).AddDocument), arg0)
}
func (m *MockStorage) AddToken(arg0 Token) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AddToken", arg0)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockStorageMockRecorder) AddToken(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddToken", reflect.TypeOf((*MockStorage)(nil).AddToken), arg0)
}
func (m *MockStorage) CountDocuments() (int, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CountDocuments")
	ret0, _ := ret[0].(int)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) CountDocuments() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CountDocuments", reflect.TypeOf((*MockStorage)(nil).CountDocuments))
}
func (m *MockStorage) GetAllDocuments() ([]Document, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetAllDocuments")
	ret0, _ := ret[0].([]Document)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) GetAllDocuments() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllDocuments", reflect.TypeOf((*MockStorage)(nil).GetAllDocuments))
}
func (m *MockStorage) GetDocuments(arg0 []DocumentID) ([]Document, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetDocuments", arg0)
	ret0, _ := ret[0].([]Document)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) GetDocuments(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDocuments", reflect.TypeOf((*MockStorage)(nil).GetDocuments), arg0)
}
func (m *MockStorage) GetInvertedIndexByTokenIDs(arg0 []TokenID) (InvertedIndex, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetInvertedIndexByTokenIDs", arg0)
	ret0, _ := ret[0].(InvertedIndex)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) GetInvertedIndexByTokenIDs(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInvertedIndexByTokenIDs", reflect.TypeOf((*MockStorage)(nil).GetInvertedIndexByTokenIDs), arg0)
}
func (m *MockStorage) GetTokenByTerm(arg0 string) (Token, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetTokenByTerm", arg0)
	ret0, _ := ret[0].(Token)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) GetTokenByTerm(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTokenByTerm", reflect.TypeOf((*MockStorage)(nil).GetTokenByTerm), arg0)
}
func (m *MockStorage) GetTokensByTerms(arg0 []string) ([]Token, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetTokensByTerms", arg0)
	ret0, _ := ret[0].([]Token)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockStorageMockRecorder) GetTokensByTerms(arg0 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTokensByTerms", reflect.TypeOf((*MockStorage)(nil).GetTokensByTerms), arg0)
}
func (m *MockStorage) UpsertInvertedIndex(arg0 InvertedIndex) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "UpsertInvertedIndex", arg0)
	ret0, _ := ret[0].(error)
	return ret0
}