2022-01-06 08:00:24 +00:00
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
2022-04-26 23:01:45 +00:00
|
|
|
// Source: github.com/zitadel/zitadel/internal/notification/channels (interfaces: NotificationChannel)
|
2023-11-22 10:56:43 +00:00
|
|
|
//
|
|
|
|
// Generated by this command:
|
|
|
|
//
|
|
|
|
// mockgen -package mock -destination ./mock/channel.mock.go github.com/zitadel/zitadel/internal/notification/channels NotificationChannel
|
|
|
|
//
|
2022-01-06 08:00:24 +00:00
|
|
|
// Package mock is a generated GoMock package.
|
|
|
|
package mock
|
|
|
|
|
|
|
|
import (
|
|
|
|
reflect "reflect"
|
2023-11-22 10:56:43 +00:00
|
|
|
|
|
|
|
channels "github.com/zitadel/zitadel/internal/notification/channels"
|
|
|
|
gomock "go.uber.org/mock/gomock"
|
2022-01-06 08:00:24 +00:00
|
|
|
)
|
|
|
|
|
2023-11-22 10:56:43 +00:00
|
|
|
// MockNotificationChannel is a mock of NotificationChannel interface.
|
2022-01-06 08:00:24 +00:00
|
|
|
type MockNotificationChannel struct {
|
|
|
|
ctrl *gomock.Controller
|
|
|
|
recorder *MockNotificationChannelMockRecorder
|
|
|
|
}
|
|
|
|
|
2023-11-22 10:56:43 +00:00
|
|
|
// MockNotificationChannelMockRecorder is the mock recorder for MockNotificationChannel.
|
2022-01-06 08:00:24 +00:00
|
|
|
type MockNotificationChannelMockRecorder struct {
|
|
|
|
mock *MockNotificationChannel
|
|
|
|
}
|
|
|
|
|
2023-11-22 10:56:43 +00:00
|
|
|
// NewMockNotificationChannel creates a new mock instance.
|
2022-01-06 08:00:24 +00:00
|
|
|
func NewMockNotificationChannel(ctrl *gomock.Controller) *MockNotificationChannel {
|
|
|
|
mock := &MockNotificationChannel{ctrl: ctrl}
|
|
|
|
mock.recorder = &MockNotificationChannelMockRecorder{mock}
|
|
|
|
return mock
|
|
|
|
}
|
|
|
|
|
2023-11-22 10:56:43 +00:00
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
2022-01-06 08:00:24 +00:00
|
|
|
func (m *MockNotificationChannel) EXPECT() *MockNotificationChannelMockRecorder {
|
|
|
|
return m.recorder
|
|
|
|
}
|
|
|
|
|
2023-11-22 10:56:43 +00:00
|
|
|
// HandleMessage mocks base method.
|
2022-01-06 08:00:24 +00:00
|
|
|
func (m *MockNotificationChannel) HandleMessage(arg0 channels.Message) error {
|
|
|
|
m.ctrl.T.Helper()
|
|
|
|
ret := m.ctrl.Call(m, "HandleMessage", arg0)
|
|
|
|
ret0, _ := ret[0].(error)
|
|
|
|
return ret0
|
|
|
|
}
|
|
|
|
|
2023-11-22 10:56:43 +00:00
|
|
|
// HandleMessage indicates an expected call of HandleMessage.
|
|
|
|
func (mr *MockNotificationChannelMockRecorder) HandleMessage(arg0 any) *gomock.Call {
|
2022-01-06 08:00:24 +00:00
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleMessage", reflect.TypeOf((*MockNotificationChannel)(nil).HandleMessage), arg0)
|
|
|
|
}
|