erigon-pulse/erigon-lib/kv/remotedbserver/mock/snapshots_mock.go

49 lines
1.3 KiB
Go
Raw Normal View History

// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ledgerwatch/erigon-lib/kv/remotedbserver (interfaces: Snapshots)
// Package mock is a generated GoMock package.
package mock
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockSnapshots is a mock of Snapshots interface.
type MockSnapshots struct {
ctrl *gomock.Controller
recorder *MockSnapshotsMockRecorder
}
// MockSnapshotsMockRecorder is the mock recorder for MockSnapshots.
type MockSnapshotsMockRecorder struct {
mock *MockSnapshots
}
// NewMockSnapshots creates a new mock instance.
func NewMockSnapshots(ctrl *gomock.Controller) *MockSnapshots {
mock := &MockSnapshots{ctrl: ctrl}
mock.recorder = &MockSnapshotsMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSnapshots) EXPECT() *MockSnapshotsMockRecorder {
return m.recorder
}
// Files mocks base method.
func (m *MockSnapshots) Files() []string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Files")
ret0, _ := ret[0].([]string)
return ret0
}
// Files indicates an expected call of Files.
func (mr *MockSnapshotsMockRecorder) Files() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Files", reflect.TypeOf((*MockSnapshots)(nil).Files))
}