// Code generated by MockGen. DO NOT EDIT. // Source: service.go // Package mocks is a generated GoMock package. package mocks import ( reflect "reflect" model "git.ctrlz.es/mgdelacroix/birthdaybot/model" gomock "github.com/golang/mock/gomock" ) // MockNotificationService is a mock of NotificationService interface. type MockNotificationService struct { ctrl *gomock.Controller recorder *MockNotificationServiceMockRecorder } // MockNotificationServiceMockRecorder is the mock recorder for MockNotificationService. type MockNotificationServiceMockRecorder struct { mock *MockNotificationService } // NewMockNotificationService creates a new mock instance. func NewMockNotificationService(ctrl *gomock.Controller) *MockNotificationService { mock := &MockNotificationService{ctrl: ctrl} mock.recorder = &MockNotificationServiceMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use. func (m *MockNotificationService) EXPECT() *MockNotificationServiceMockRecorder { return m.recorder } // Notify mocks base method. func (m *MockNotificationService) Notify(arg0 *model.Birthday) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Notify", arg0) ret0, _ := ret[0].(error) return ret0 } // Notify indicates an expected call of Notify. func (mr *MockNotificationServiceMockRecorder) Notify(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Notify", reflect.TypeOf((*MockNotificationService)(nil).Notify), arg0) }