github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/worker/secretbackendrotate/mocks/watcher_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/juju/juju/core/watcher (interfaces: SecretBackendRotateWatcher)
     3  //
     4  // Generated by this command:
     5  //
     6  //	mockgen -package mocks -destination mocks/watcher_mock.go github.com/juju/juju/core/watcher SecretBackendRotateWatcher
     7  //
     8  
     9  // Package mocks is a generated GoMock package.
    10  package mocks
    11  
    12  import (
    13  	reflect "reflect"
    14  
    15  	watcher "github.com/juju/juju/core/watcher"
    16  	gomock "go.uber.org/mock/gomock"
    17  )
    18  
    19  // MockSecretBackendRotateWatcher is a mock of SecretBackendRotateWatcher interface.
    20  type MockSecretBackendRotateWatcher struct {
    21  	ctrl     *gomock.Controller
    22  	recorder *MockSecretBackendRotateWatcherMockRecorder
    23  }
    24  
    25  // MockSecretBackendRotateWatcherMockRecorder is the mock recorder for MockSecretBackendRotateWatcher.
    26  type MockSecretBackendRotateWatcherMockRecorder struct {
    27  	mock *MockSecretBackendRotateWatcher
    28  }
    29  
    30  // NewMockSecretBackendRotateWatcher creates a new mock instance.
    31  func NewMockSecretBackendRotateWatcher(ctrl *gomock.Controller) *MockSecretBackendRotateWatcher {
    32  	mock := &MockSecretBackendRotateWatcher{ctrl: ctrl}
    33  	mock.recorder = &MockSecretBackendRotateWatcherMockRecorder{mock}
    34  	return mock
    35  }
    36  
    37  // EXPECT returns an object that allows the caller to indicate expected use.
    38  func (m *MockSecretBackendRotateWatcher) EXPECT() *MockSecretBackendRotateWatcherMockRecorder {
    39  	return m.recorder
    40  }
    41  
    42  // Changes mocks base method.
    43  func (m *MockSecretBackendRotateWatcher) Changes() watcher.SecretBackendRotateChannel {
    44  	m.ctrl.T.Helper()
    45  	ret := m.ctrl.Call(m, "Changes")
    46  	ret0, _ := ret[0].(watcher.SecretBackendRotateChannel)
    47  	return ret0
    48  }
    49  
    50  // Changes indicates an expected call of Changes.
    51  func (mr *MockSecretBackendRotateWatcherMockRecorder) Changes() *gomock.Call {
    52  	mr.mock.ctrl.T.Helper()
    53  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Changes", reflect.TypeOf((*MockSecretBackendRotateWatcher)(nil).Changes))
    54  }
    55  
    56  // Kill mocks base method.
    57  func (m *MockSecretBackendRotateWatcher) Kill() {
    58  	m.ctrl.T.Helper()
    59  	m.ctrl.Call(m, "Kill")
    60  }
    61  
    62  // Kill indicates an expected call of Kill.
    63  func (mr *MockSecretBackendRotateWatcherMockRecorder) Kill() *gomock.Call {
    64  	mr.mock.ctrl.T.Helper()
    65  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Kill", reflect.TypeOf((*MockSecretBackendRotateWatcher)(nil).Kill))
    66  }
    67  
    68  // Wait mocks base method.
    69  func (m *MockSecretBackendRotateWatcher) Wait() error {
    70  	m.ctrl.T.Helper()
    71  	ret := m.ctrl.Call(m, "Wait")
    72  	ret0, _ := ret[0].(error)
    73  	return ret0
    74  }
    75  
    76  // Wait indicates an expected call of Wait.
    77  func (mr *MockSecretBackendRotateWatcherMockRecorder) Wait() *gomock.Call {
    78  	mr.mock.ctrl.T.Helper()
    79  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Wait", reflect.TypeOf((*MockSecretBackendRotateWatcher)(nil).Wait))
    80  }