github.com/uber/kraken@v0.1.4/mocks/lib/hashring/watcher.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/uber/kraken/lib/hashring (interfaces: Watcher)
     3  
     4  // Package mockhashring is a generated GoMock package.
     5  package mockhashring
     6  
     7  import (
     8  	gomock "github.com/golang/mock/gomock"
     9  	stringset "github.com/uber/kraken/utils/stringset"
    10  	reflect "reflect"
    11  )
    12  
    13  // MockWatcher is a mock of Watcher interface
    14  type MockWatcher struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockWatcherMockRecorder
    17  }
    18  
    19  // MockWatcherMockRecorder is the mock recorder for MockWatcher
    20  type MockWatcherMockRecorder struct {
    21  	mock *MockWatcher
    22  }
    23  
    24  // NewMockWatcher creates a new mock instance
    25  func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher {
    26  	mock := &MockWatcher{ctrl: ctrl}
    27  	mock.recorder = &MockWatcherMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use
    32  func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // Notify mocks base method
    37  func (m *MockWatcher) Notify(arg0 stringset.Set) {
    38  	m.ctrl.T.Helper()
    39  	m.ctrl.Call(m, "Notify", arg0)
    40  }
    41  
    42  // Notify indicates an expected call of Notify
    43  func (mr *MockWatcherMockRecorder) Notify(arg0 interface{}) *gomock.Call {
    44  	mr.mock.ctrl.T.Helper()
    45  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Notify", reflect.TypeOf((*MockWatcher)(nil).Notify), arg0)
    46  }