github.com/iotexproject/iotex-core@v1.14.1-rc1/test/mock/mock_batch/mock_batch.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: ./db/batch/batch.go
     3  
     4  // Package mock_batch is a generated GoMock package.
     5  package mock_batch
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  	batch "github.com/iotexproject/iotex-core/db/batch"
    12  )
    13  
    14  // MockKVStoreBatch is a mock of KVStoreBatch interface.
    15  type MockKVStoreBatch struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockKVStoreBatchMockRecorder
    18  }
    19  
    20  // MockKVStoreBatchMockRecorder is the mock recorder for MockKVStoreBatch.
    21  type MockKVStoreBatchMockRecorder struct {
    22  	mock *MockKVStoreBatch
    23  }
    24  
    25  // NewMockKVStoreBatch creates a new mock instance.
    26  func NewMockKVStoreBatch(ctrl *gomock.Controller) *MockKVStoreBatch {
    27  	mock := &MockKVStoreBatch{ctrl: ctrl}
    28  	mock.recorder = &MockKVStoreBatchMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockKVStoreBatch) EXPECT() *MockKVStoreBatchMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // AddFillPercent mocks base method.
    38  func (m *MockKVStoreBatch) AddFillPercent(arg0 string, arg1 float64) {
    39  	m.ctrl.T.Helper()
    40  	m.ctrl.Call(m, "AddFillPercent", arg0, arg1)
    41  }
    42  
    43  // AddFillPercent indicates an expected call of AddFillPercent.
    44  func (mr *MockKVStoreBatchMockRecorder) AddFillPercent(arg0, arg1 interface{}) *gomock.Call {
    45  	mr.mock.ctrl.T.Helper()
    46  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFillPercent", reflect.TypeOf((*MockKVStoreBatch)(nil).AddFillPercent), arg0, arg1)
    47  }
    48  
    49  // CheckFillPercent mocks base method.
    50  func (m *MockKVStoreBatch) CheckFillPercent(arg0 string) (float64, bool) {
    51  	m.ctrl.T.Helper()
    52  	ret := m.ctrl.Call(m, "CheckFillPercent", arg0)
    53  	ret0, _ := ret[0].(float64)
    54  	ret1, _ := ret[1].(bool)
    55  	return ret0, ret1
    56  }
    57  
    58  // CheckFillPercent indicates an expected call of CheckFillPercent.
    59  func (mr *MockKVStoreBatchMockRecorder) CheckFillPercent(arg0 interface{}) *gomock.Call {
    60  	mr.mock.ctrl.T.Helper()
    61  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckFillPercent", reflect.TypeOf((*MockKVStoreBatch)(nil).CheckFillPercent), arg0)
    62  }
    63  
    64  // Clear mocks base method.
    65  func (m *MockKVStoreBatch) Clear() {
    66  	m.ctrl.T.Helper()
    67  	m.ctrl.Call(m, "Clear")
    68  }
    69  
    70  // Clear indicates an expected call of Clear.
    71  func (mr *MockKVStoreBatchMockRecorder) Clear() *gomock.Call {
    72  	mr.mock.ctrl.T.Helper()
    73  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Clear", reflect.TypeOf((*MockKVStoreBatch)(nil).Clear))
    74  }
    75  
    76  // ClearAndUnlock mocks base method.
    77  func (m *MockKVStoreBatch) ClearAndUnlock() {
    78  	m.ctrl.T.Helper()
    79  	m.ctrl.Call(m, "ClearAndUnlock")
    80  }
    81  
    82  // ClearAndUnlock indicates an expected call of ClearAndUnlock.
    83  func (mr *MockKVStoreBatchMockRecorder) ClearAndUnlock() *gomock.Call {
    84  	mr.mock.ctrl.T.Helper()
    85  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearAndUnlock", reflect.TypeOf((*MockKVStoreBatch)(nil).ClearAndUnlock))
    86  }
    87  
    88  // Delete mocks base method.
    89  func (m *MockKVStoreBatch) Delete(arg0 string, arg1 []byte, arg2 string) {
    90  	m.ctrl.T.Helper()
    91  	m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
    92  }
    93  
    94  // Delete indicates an expected call of Delete.
    95  func (mr *MockKVStoreBatchMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call {
    96  	mr.mock.ctrl.T.Helper()
    97  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockKVStoreBatch)(nil).Delete), arg0, arg1, arg2)
    98  }
    99  
   100  // Entry mocks base method.
   101  func (m *MockKVStoreBatch) Entry(arg0 int) (*batch.WriteInfo, error) {
   102  	m.ctrl.T.Helper()
   103  	ret := m.ctrl.Call(m, "Entry", arg0)
   104  	ret0, _ := ret[0].(*batch.WriteInfo)
   105  	ret1, _ := ret[1].(error)
   106  	return ret0, ret1
   107  }
   108  
   109  // Entry indicates an expected call of Entry.
   110  func (mr *MockKVStoreBatchMockRecorder) Entry(arg0 interface{}) *gomock.Call {
   111  	mr.mock.ctrl.T.Helper()
   112  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Entry", reflect.TypeOf((*MockKVStoreBatch)(nil).Entry), arg0)
   113  }
   114  
   115  // Lock mocks base method.
   116  func (m *MockKVStoreBatch) Lock() {
   117  	m.ctrl.T.Helper()
   118  	m.ctrl.Call(m, "Lock")
   119  }
   120  
   121  // Lock indicates an expected call of Lock.
   122  func (mr *MockKVStoreBatchMockRecorder) Lock() *gomock.Call {
   123  	mr.mock.ctrl.T.Helper()
   124  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lock", reflect.TypeOf((*MockKVStoreBatch)(nil).Lock))
   125  }
   126  
   127  // Put mocks base method.
   128  func (m *MockKVStoreBatch) Put(arg0 string, arg1, arg2 []byte, arg3 string) {
   129  	m.ctrl.T.Helper()
   130  	m.ctrl.Call(m, "Put", arg0, arg1, arg2, arg3)
   131  }
   132  
   133  // Put indicates an expected call of Put.
   134  func (mr *MockKVStoreBatchMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   135  	mr.mock.ctrl.T.Helper()
   136  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockKVStoreBatch)(nil).Put), arg0, arg1, arg2, arg3)
   137  }
   138  
   139  // SerializeQueue mocks base method.
   140  func (m *MockKVStoreBatch) SerializeQueue(arg0 batch.WriteInfoSerialize, arg1 batch.WriteInfoFilter) []byte {
   141  	m.ctrl.T.Helper()
   142  	ret := m.ctrl.Call(m, "SerializeQueue", arg0, arg1)
   143  	ret0, _ := ret[0].([]byte)
   144  	return ret0
   145  }
   146  
   147  // SerializeQueue indicates an expected call of SerializeQueue.
   148  func (mr *MockKVStoreBatchMockRecorder) SerializeQueue(arg0, arg1 interface{}) *gomock.Call {
   149  	mr.mock.ctrl.T.Helper()
   150  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SerializeQueue", reflect.TypeOf((*MockKVStoreBatch)(nil).SerializeQueue), arg0, arg1)
   151  }
   152  
   153  // Size mocks base method.
   154  func (m *MockKVStoreBatch) Size() int {
   155  	m.ctrl.T.Helper()
   156  	ret := m.ctrl.Call(m, "Size")
   157  	ret0, _ := ret[0].(int)
   158  	return ret0
   159  }
   160  
   161  // Size indicates an expected call of Size.
   162  func (mr *MockKVStoreBatchMockRecorder) Size() *gomock.Call {
   163  	mr.mock.ctrl.T.Helper()
   164  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Size", reflect.TypeOf((*MockKVStoreBatch)(nil).Size))
   165  }
   166  
   167  // Translate mocks base method.
   168  func (m *MockKVStoreBatch) Translate(arg0 batch.WriteInfoTranslate) batch.KVStoreBatch {
   169  	m.ctrl.T.Helper()
   170  	ret := m.ctrl.Call(m, "Translate", arg0)
   171  	ret0, _ := ret[0].(batch.KVStoreBatch)
   172  	return ret0
   173  }
   174  
   175  // Translate indicates an expected call of Translate.
   176  func (mr *MockKVStoreBatchMockRecorder) Translate(arg0 interface{}) *gomock.Call {
   177  	mr.mock.ctrl.T.Helper()
   178  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Translate", reflect.TypeOf((*MockKVStoreBatch)(nil).Translate), arg0)
   179  }
   180  
   181  // Unlock mocks base method.
   182  func (m *MockKVStoreBatch) Unlock() {
   183  	m.ctrl.T.Helper()
   184  	m.ctrl.Call(m, "Unlock")
   185  }
   186  
   187  // Unlock indicates an expected call of Unlock.
   188  func (mr *MockKVStoreBatchMockRecorder) Unlock() *gomock.Call {
   189  	mr.mock.ctrl.T.Helper()
   190  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unlock", reflect.TypeOf((*MockKVStoreBatch)(nil).Unlock))
   191  }
   192  
   193  // MockCachedBatch is a mock of CachedBatch interface.
   194  type MockCachedBatch struct {
   195  	ctrl     *gomock.Controller
   196  	recorder *MockCachedBatchMockRecorder
   197  }
   198  
   199  // MockCachedBatchMockRecorder is the mock recorder for MockCachedBatch.
   200  type MockCachedBatchMockRecorder struct {
   201  	mock *MockCachedBatch
   202  }
   203  
   204  // NewMockCachedBatch creates a new mock instance.
   205  func NewMockCachedBatch(ctrl *gomock.Controller) *MockCachedBatch {
   206  	mock := &MockCachedBatch{ctrl: ctrl}
   207  	mock.recorder = &MockCachedBatchMockRecorder{mock}
   208  	return mock
   209  }
   210  
   211  // EXPECT returns an object that allows the caller to indicate expected use.
   212  func (m *MockCachedBatch) EXPECT() *MockCachedBatchMockRecorder {
   213  	return m.recorder
   214  }
   215  
   216  // AddFillPercent mocks base method.
   217  func (m *MockCachedBatch) AddFillPercent(arg0 string, arg1 float64) {
   218  	m.ctrl.T.Helper()
   219  	m.ctrl.Call(m, "AddFillPercent", arg0, arg1)
   220  }
   221  
   222  // AddFillPercent indicates an expected call of AddFillPercent.
   223  func (mr *MockCachedBatchMockRecorder) AddFillPercent(arg0, arg1 interface{}) *gomock.Call {
   224  	mr.mock.ctrl.T.Helper()
   225  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddFillPercent", reflect.TypeOf((*MockCachedBatch)(nil).AddFillPercent), arg0, arg1)
   226  }
   227  
   228  // CheckFillPercent mocks base method.
   229  func (m *MockCachedBatch) CheckFillPercent(arg0 string) (float64, bool) {
   230  	m.ctrl.T.Helper()
   231  	ret := m.ctrl.Call(m, "CheckFillPercent", arg0)
   232  	ret0, _ := ret[0].(float64)
   233  	ret1, _ := ret[1].(bool)
   234  	return ret0, ret1
   235  }
   236  
   237  // CheckFillPercent indicates an expected call of CheckFillPercent.
   238  func (mr *MockCachedBatchMockRecorder) CheckFillPercent(arg0 interface{}) *gomock.Call {
   239  	mr.mock.ctrl.T.Helper()
   240  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckFillPercent", reflect.TypeOf((*MockCachedBatch)(nil).CheckFillPercent), arg0)
   241  }
   242  
   243  // Clear mocks base method.
   244  func (m *MockCachedBatch) Clear() {
   245  	m.ctrl.T.Helper()
   246  	m.ctrl.Call(m, "Clear")
   247  }
   248  
   249  // Clear indicates an expected call of Clear.
   250  func (mr *MockCachedBatchMockRecorder) Clear() *gomock.Call {
   251  	mr.mock.ctrl.T.Helper()
   252  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Clear", reflect.TypeOf((*MockCachedBatch)(nil).Clear))
   253  }
   254  
   255  // ClearAndUnlock mocks base method.
   256  func (m *MockCachedBatch) ClearAndUnlock() {
   257  	m.ctrl.T.Helper()
   258  	m.ctrl.Call(m, "ClearAndUnlock")
   259  }
   260  
   261  // ClearAndUnlock indicates an expected call of ClearAndUnlock.
   262  func (mr *MockCachedBatchMockRecorder) ClearAndUnlock() *gomock.Call {
   263  	mr.mock.ctrl.T.Helper()
   264  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearAndUnlock", reflect.TypeOf((*MockCachedBatch)(nil).ClearAndUnlock))
   265  }
   266  
   267  // Delete mocks base method.
   268  func (m *MockCachedBatch) Delete(arg0 string, arg1 []byte, arg2 string) {
   269  	m.ctrl.T.Helper()
   270  	m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
   271  }
   272  
   273  // Delete indicates an expected call of Delete.
   274  func (mr *MockCachedBatchMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call {
   275  	mr.mock.ctrl.T.Helper()
   276  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockCachedBatch)(nil).Delete), arg0, arg1, arg2)
   277  }
   278  
   279  // Entry mocks base method.
   280  func (m *MockCachedBatch) Entry(arg0 int) (*batch.WriteInfo, error) {
   281  	m.ctrl.T.Helper()
   282  	ret := m.ctrl.Call(m, "Entry", arg0)
   283  	ret0, _ := ret[0].(*batch.WriteInfo)
   284  	ret1, _ := ret[1].(error)
   285  	return ret0, ret1
   286  }
   287  
   288  // Entry indicates an expected call of Entry.
   289  func (mr *MockCachedBatchMockRecorder) Entry(arg0 interface{}) *gomock.Call {
   290  	mr.mock.ctrl.T.Helper()
   291  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Entry", reflect.TypeOf((*MockCachedBatch)(nil).Entry), arg0)
   292  }
   293  
   294  // Get mocks base method.
   295  func (m *MockCachedBatch) Get(arg0 string, arg1 []byte) ([]byte, error) {
   296  	m.ctrl.T.Helper()
   297  	ret := m.ctrl.Call(m, "Get", arg0, arg1)
   298  	ret0, _ := ret[0].([]byte)
   299  	ret1, _ := ret[1].(error)
   300  	return ret0, ret1
   301  }
   302  
   303  // Get indicates an expected call of Get.
   304  func (mr *MockCachedBatchMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call {
   305  	mr.mock.ctrl.T.Helper()
   306  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockCachedBatch)(nil).Get), arg0, arg1)
   307  }
   308  
   309  // Lock mocks base method.
   310  func (m *MockCachedBatch) Lock() {
   311  	m.ctrl.T.Helper()
   312  	m.ctrl.Call(m, "Lock")
   313  }
   314  
   315  // Lock indicates an expected call of Lock.
   316  func (mr *MockCachedBatchMockRecorder) Lock() *gomock.Call {
   317  	mr.mock.ctrl.T.Helper()
   318  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Lock", reflect.TypeOf((*MockCachedBatch)(nil).Lock))
   319  }
   320  
   321  // Put mocks base method.
   322  func (m *MockCachedBatch) Put(arg0 string, arg1, arg2 []byte, arg3 string) {
   323  	m.ctrl.T.Helper()
   324  	m.ctrl.Call(m, "Put", arg0, arg1, arg2, arg3)
   325  }
   326  
   327  // Put indicates an expected call of Put.
   328  func (mr *MockCachedBatchMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   329  	mr.mock.ctrl.T.Helper()
   330  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockCachedBatch)(nil).Put), arg0, arg1, arg2, arg3)
   331  }
   332  
   333  // ResetSnapshots mocks base method.
   334  func (m *MockCachedBatch) ResetSnapshots() {
   335  	m.ctrl.T.Helper()
   336  	m.ctrl.Call(m, "ResetSnapshots")
   337  }
   338  
   339  // ResetSnapshots indicates an expected call of ResetSnapshots.
   340  func (mr *MockCachedBatchMockRecorder) ResetSnapshots() *gomock.Call {
   341  	mr.mock.ctrl.T.Helper()
   342  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetSnapshots", reflect.TypeOf((*MockCachedBatch)(nil).ResetSnapshots))
   343  }
   344  
   345  // RevertSnapshot mocks base method.
   346  func (m *MockCachedBatch) RevertSnapshot(arg0 int) error {
   347  	m.ctrl.T.Helper()
   348  	ret := m.ctrl.Call(m, "RevertSnapshot", arg0)
   349  	ret0, _ := ret[0].(error)
   350  	return ret0
   351  }
   352  
   353  // RevertSnapshot indicates an expected call of RevertSnapshot.
   354  func (mr *MockCachedBatchMockRecorder) RevertSnapshot(arg0 interface{}) *gomock.Call {
   355  	mr.mock.ctrl.T.Helper()
   356  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertSnapshot", reflect.TypeOf((*MockCachedBatch)(nil).RevertSnapshot), arg0)
   357  }
   358  
   359  // SerializeQueue mocks base method.
   360  func (m *MockCachedBatch) SerializeQueue(arg0 batch.WriteInfoSerialize, arg1 batch.WriteInfoFilter) []byte {
   361  	m.ctrl.T.Helper()
   362  	ret := m.ctrl.Call(m, "SerializeQueue", arg0, arg1)
   363  	ret0, _ := ret[0].([]byte)
   364  	return ret0
   365  }
   366  
   367  // SerializeQueue indicates an expected call of SerializeQueue.
   368  func (mr *MockCachedBatchMockRecorder) SerializeQueue(arg0, arg1 interface{}) *gomock.Call {
   369  	mr.mock.ctrl.T.Helper()
   370  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SerializeQueue", reflect.TypeOf((*MockCachedBatch)(nil).SerializeQueue), arg0, arg1)
   371  }
   372  
   373  // Size mocks base method.
   374  func (m *MockCachedBatch) Size() int {
   375  	m.ctrl.T.Helper()
   376  	ret := m.ctrl.Call(m, "Size")
   377  	ret0, _ := ret[0].(int)
   378  	return ret0
   379  }
   380  
   381  // Size indicates an expected call of Size.
   382  func (mr *MockCachedBatchMockRecorder) Size() *gomock.Call {
   383  	mr.mock.ctrl.T.Helper()
   384  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Size", reflect.TypeOf((*MockCachedBatch)(nil).Size))
   385  }
   386  
   387  // Snapshot mocks base method.
   388  func (m *MockCachedBatch) Snapshot() int {
   389  	m.ctrl.T.Helper()
   390  	ret := m.ctrl.Call(m, "Snapshot")
   391  	ret0, _ := ret[0].(int)
   392  	return ret0
   393  }
   394  
   395  // Snapshot indicates an expected call of Snapshot.
   396  func (mr *MockCachedBatchMockRecorder) Snapshot() *gomock.Call {
   397  	mr.mock.ctrl.T.Helper()
   398  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Snapshot", reflect.TypeOf((*MockCachedBatch)(nil).Snapshot))
   399  }
   400  
   401  // Translate mocks base method.
   402  func (m *MockCachedBatch) Translate(arg0 batch.WriteInfoTranslate) batch.KVStoreBatch {
   403  	m.ctrl.T.Helper()
   404  	ret := m.ctrl.Call(m, "Translate", arg0)
   405  	ret0, _ := ret[0].(batch.KVStoreBatch)
   406  	return ret0
   407  }
   408  
   409  // Translate indicates an expected call of Translate.
   410  func (mr *MockCachedBatchMockRecorder) Translate(arg0 interface{}) *gomock.Call {
   411  	mr.mock.ctrl.T.Helper()
   412  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Translate", reflect.TypeOf((*MockCachedBatch)(nil).Translate), arg0)
   413  }
   414  
   415  // Unlock mocks base method.
   416  func (m *MockCachedBatch) Unlock() {
   417  	m.ctrl.T.Helper()
   418  	m.ctrl.Call(m, "Unlock")
   419  }
   420  
   421  // Unlock indicates an expected call of Unlock.
   422  func (mr *MockCachedBatchMockRecorder) Unlock() *gomock.Call {
   423  	mr.mock.ctrl.T.Helper()
   424  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unlock", reflect.TypeOf((*MockCachedBatch)(nil).Unlock))
   425  }
   426  
   427  // MockSnapshot is a mock of Snapshot interface.
   428  type MockSnapshot struct {
   429  	ctrl     *gomock.Controller
   430  	recorder *MockSnapshotMockRecorder
   431  }
   432  
   433  // MockSnapshotMockRecorder is the mock recorder for MockSnapshot.
   434  type MockSnapshotMockRecorder struct {
   435  	mock *MockSnapshot
   436  }
   437  
   438  // NewMockSnapshot creates a new mock instance.
   439  func NewMockSnapshot(ctrl *gomock.Controller) *MockSnapshot {
   440  	mock := &MockSnapshot{ctrl: ctrl}
   441  	mock.recorder = &MockSnapshotMockRecorder{mock}
   442  	return mock
   443  }
   444  
   445  // EXPECT returns an object that allows the caller to indicate expected use.
   446  func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder {
   447  	return m.recorder
   448  }
   449  
   450  // ResetSnapshots mocks base method.
   451  func (m *MockSnapshot) ResetSnapshots() {
   452  	m.ctrl.T.Helper()
   453  	m.ctrl.Call(m, "ResetSnapshots")
   454  }
   455  
   456  // ResetSnapshots indicates an expected call of ResetSnapshots.
   457  func (mr *MockSnapshotMockRecorder) ResetSnapshots() *gomock.Call {
   458  	mr.mock.ctrl.T.Helper()
   459  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetSnapshots", reflect.TypeOf((*MockSnapshot)(nil).ResetSnapshots))
   460  }
   461  
   462  // RevertSnapshot mocks base method.
   463  func (m *MockSnapshot) RevertSnapshot(arg0 int) error {
   464  	m.ctrl.T.Helper()
   465  	ret := m.ctrl.Call(m, "RevertSnapshot", arg0)
   466  	ret0, _ := ret[0].(error)
   467  	return ret0
   468  }
   469  
   470  // RevertSnapshot indicates an expected call of RevertSnapshot.
   471  func (mr *MockSnapshotMockRecorder) RevertSnapshot(arg0 interface{}) *gomock.Call {
   472  	mr.mock.ctrl.T.Helper()
   473  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertSnapshot", reflect.TypeOf((*MockSnapshot)(nil).RevertSnapshot), arg0)
   474  }
   475  
   476  // Snapshot mocks base method.
   477  func (m *MockSnapshot) Snapshot() int {
   478  	m.ctrl.T.Helper()
   479  	ret := m.ctrl.Call(m, "Snapshot")
   480  	ret0, _ := ret[0].(int)
   481  	return ret0
   482  }
   483  
   484  // Snapshot indicates an expected call of Snapshot.
   485  func (mr *MockSnapshotMockRecorder) Snapshot() *gomock.Call {
   486  	mr.mock.ctrl.T.Helper()
   487  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Snapshot", reflect.TypeOf((*MockSnapshot)(nil).Snapshot))
   488  }