mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +00:00
6dcdef0268
* fix: add action v2 execution to features * fix: add action v2 execution to features * fix: add action v2 execution to features * fix: update internal/command/instance_features_model.go Co-authored-by: Tim Möhlmann <tim+github@zitadel.com> * fix: merge back main * fix: merge back main * fix: rename feature and service * fix: rename feature and service * fix: review changes * fix: review changes --------- Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
55 lines
1.8 KiB
Go
55 lines
1.8 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/zitadel/zitadel/internal/notification/channels (interfaces: NotificationChannel)
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -package mock -destination ./mock/channel.mock.go github.com/zitadel/zitadel/internal/notification/channels NotificationChannel
|
|
//
|
|
|
|
// Package mock is a generated GoMock package.
|
|
package mock
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
channels "github.com/zitadel/zitadel/internal/notification/channels"
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockNotificationChannel is a mock of NotificationChannel interface.
|
|
type MockNotificationChannel struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockNotificationChannelMockRecorder
|
|
}
|
|
|
|
// MockNotificationChannelMockRecorder is the mock recorder for MockNotificationChannel.
|
|
type MockNotificationChannelMockRecorder struct {
|
|
mock *MockNotificationChannel
|
|
}
|
|
|
|
// NewMockNotificationChannel creates a new mock instance.
|
|
func NewMockNotificationChannel(ctrl *gomock.Controller) *MockNotificationChannel {
|
|
mock := &MockNotificationChannel{ctrl: ctrl}
|
|
mock.recorder = &MockNotificationChannelMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockNotificationChannel) EXPECT() *MockNotificationChannelMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// HandleMessage mocks base method.
|
|
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
|
|
}
|
|
|
|
// HandleMessage indicates an expected call of HandleMessage.
|
|
func (mr *MockNotificationChannelMockRecorder) HandleMessage(arg0 any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HandleMessage", reflect.TypeOf((*MockNotificationChannel)(nil).HandleMessage), arg0)
|
|
}
|