Documentation
¶
Overview ¶
Package sendermocks is a generated GoMock package.
Index ¶
- type MockNotificationSender
- func (m *MockNotificationSender) BatchSend(ctx context.Context, notifications []notification.Notification) (notification.NotificationResponse, error)
- func (m *MockNotificationSender) EXPECT() *MockNotificationSenderMockRecorder
- func (m *MockNotificationSender) Send(ctx context.Context, n notification.Notification) (notification.NotificationResponse, error)
- type MockNotificationSenderBatchSendCall
- func (c *MockNotificationSenderBatchSendCall) Do(...) *MockNotificationSenderBatchSendCall
- func (c *MockNotificationSenderBatchSendCall) DoAndReturn(...) *MockNotificationSenderBatchSendCall
- func (c *MockNotificationSenderBatchSendCall) Return(arg0 notification.NotificationResponse, arg1 error) *MockNotificationSenderBatchSendCall
- type MockNotificationSenderMockRecorder
- type MockNotificationSenderSendCall
- func (c *MockNotificationSenderSendCall) Do(...) *MockNotificationSenderSendCall
- func (c *MockNotificationSenderSendCall) DoAndReturn(...) *MockNotificationSenderSendCall
- func (c *MockNotificationSenderSendCall) Return(arg0 notification.NotificationResponse, arg1 error) *MockNotificationSenderSendCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNotificationSender ¶
type MockNotificationSender struct {
// contains filtered or unexported fields
}
MockNotificationSender is a mock of NotificationSender interface.
func NewMockNotificationSender ¶
func NewMockNotificationSender(ctrl *gomock.Controller) *MockNotificationSender
NewMockNotificationSender creates a new mock instance.
func (*MockNotificationSender) BatchSend ¶
func (m *MockNotificationSender) BatchSend(ctx context.Context, notifications []notification.Notification) (notification.NotificationResponse, error)
BatchSend mocks base method.
func (*MockNotificationSender) EXPECT ¶
func (m *MockNotificationSender) EXPECT() *MockNotificationSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotificationSender) Send ¶
func (m *MockNotificationSender) Send(ctx context.Context, n notification.Notification) (notification.NotificationResponse, error)
Send mocks base method.
type MockNotificationSenderBatchSendCall ¶
MockNotificationSenderBatchSendCall wrap *gomock.Call
func (*MockNotificationSenderBatchSendCall) Do ¶
func (c *MockNotificationSenderBatchSendCall) Do(f func(context.Context, []notification.Notification) (notification.NotificationResponse, error)) *MockNotificationSenderBatchSendCall
Do rewrite *gomock.Call.Do
func (*MockNotificationSenderBatchSendCall) DoAndReturn ¶
func (c *MockNotificationSenderBatchSendCall) DoAndReturn(f func(context.Context, []notification.Notification) (notification.NotificationResponse, error)) *MockNotificationSenderBatchSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNotificationSenderBatchSendCall) Return ¶
func (c *MockNotificationSenderBatchSendCall) Return(arg0 notification.NotificationResponse, arg1 error) *MockNotificationSenderBatchSendCall
Return rewrite *gomock.Call.Return
type MockNotificationSenderMockRecorder ¶
type MockNotificationSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationSenderMockRecorder is the mock recorder for MockNotificationSender.
func (*MockNotificationSenderMockRecorder) BatchSend ¶
func (mr *MockNotificationSenderMockRecorder) BatchSend(ctx, notifications any) *MockNotificationSenderBatchSendCall
BatchSend indicates an expected call of BatchSend.
func (*MockNotificationSenderMockRecorder) Send ¶
func (mr *MockNotificationSenderMockRecorder) Send(ctx, n any) *MockNotificationSenderSendCall
Send indicates an expected call of Send.
type MockNotificationSenderSendCall ¶
MockNotificationSenderSendCall wrap *gomock.Call
func (*MockNotificationSenderSendCall) Do ¶
func (c *MockNotificationSenderSendCall) Do(f func(context.Context, notification.Notification) (notification.NotificationResponse, error)) *MockNotificationSenderSendCall
Do rewrite *gomock.Call.Do
func (*MockNotificationSenderSendCall) DoAndReturn ¶
func (c *MockNotificationSenderSendCall) DoAndReturn(f func(context.Context, notification.Notification) (notification.NotificationResponse, error)) *MockNotificationSenderSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockNotificationSenderSendCall) Return ¶
func (c *MockNotificationSenderSendCall) Return(arg0 notification.NotificationResponse, arg1 error) *MockNotificationSenderSendCall
Return rewrite *gomock.Call.Return