mocktelegram

package
v0.0.0-...-2e0bdef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocktelegram is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTelegramBot

type MockTelegramBot struct {
	// contains filtered or unexported fields
}

MockTelegramBot is a mock of TelegramBot interface.

func NewMockTelegramBot

func NewMockTelegramBot(ctrl *gomock.Controller) *MockTelegramBot

NewMockTelegramBot creates a new mock instance.

func (*MockTelegramBot) CommandHandling

func (m *MockTelegramBot) CommandHandling(arg0 context.Context, arg1 func(tgbotapi.Update) string) error

CommandHandling mocks base method.

func (*MockTelegramBot) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTelegramBot) SendMessage

func (m *MockTelegramBot) SendMessage(arg0 context.Context, arg1 int64, arg2, arg3 string) error

SendMessage mocks base method.

type MockTelegramBotMockRecorder

type MockTelegramBotMockRecorder struct {
	// contains filtered or unexported fields
}

MockTelegramBotMockRecorder is the mock recorder for MockTelegramBot.

func (*MockTelegramBotMockRecorder) CommandHandling

func (mr *MockTelegramBotMockRecorder) CommandHandling(arg0, arg1 any) *gomock.Call

CommandHandling indicates an expected call of CommandHandling.

func (*MockTelegramBotMockRecorder) SendMessage

func (mr *MockTelegramBotMockRecorder) SendMessage(arg0, arg1, arg2, arg3 any) *gomock.Call

SendMessage indicates an expected call of SendMessage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL