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 ¶
func (m *MockTelegramBot) EXPECT() *MockTelegramBotMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTelegramBot) SendMessage ¶
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.
Click to show internal directories.
Click to hide internal directories.