2019-04-25 04:52:08 +07:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2019-12-24 09:14:52 +07:00
|
|
|
// Source: github.com/authelia/authelia/internal/notification (interfaces: Notifier)
|
2019-04-25 04:52:08 +07:00
|
|
|
|
|
|
|
// Package mock_notification is a generated GoMock package.
|
|
|
|
package mocks
|
|
|
|
|
|
|
|
import (
|
|
|
|
reflect "reflect"
|
|
|
|
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MockNotifier is a mock of Notifier interface
|
|
|
|
type MockNotifier struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockNotifierMockRecorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// MockNotifierMockRecorder is the mock recorder for MockNotifier
|
|
|
|
type MockNotifierMockRecorder struct {
|
|
|
|
mock *MockNotifier
|
|
|
|
}
|
|
|
|
|
|
|
|
// NewMockNotifier creates a new mock instance
|
|
|
|
func NewMockNotifier(ctrl *gomock.Controller) *MockNotifier {
|
|
|
|
mock := &MockNotifier{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockNotifierMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
|
|
func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
|
|
|
// Send mocks base method
|
|
|
|
func (m *MockNotifier) Send(arg0, arg1, arg2 string) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "Send", arg0, arg1, arg2)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
|
|
|
// Send indicates an expected call of Send
|
|
|
|
func (mr *MockNotifierMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockNotifier)(nil).Send), arg0, arg1, arg2)
|
|
|
|
}
|