Documentation ¶
Overview ¶
Package mock_handlers is a generated GoMock package.
Index ¶
- type MockTelegramHandlerHelper
- func (m *MockTelegramHandlerHelper) EXPECT() *MockTelegramHandlerHelperMockRecorder
- func (m *MockTelegramHandlerHelper) GetUpdatesChan(config tgbotapi.UpdateConfig) (tgbotapi.UpdatesChannel, error)
- func (m *MockTelegramHandlerHelper) NewMessage(chatID int64, text string) tgbotapi.MessageConfig
- func (m *MockTelegramHandlerHelper) NewUpdateChannel(offset int) tgbotapi.UpdateConfig
- func (m *MockTelegramHandlerHelper) SendMessage(msg tgbotapi.MessageConfig) error
- type MockTelegramHandlerHelperMockRecorder
- func (mr *MockTelegramHandlerHelperMockRecorder) GetUpdatesChan(config interface{}) *gomock.Call
- func (mr *MockTelegramHandlerHelperMockRecorder) NewMessage(chatID, text interface{}) *gomock.Call
- func (mr *MockTelegramHandlerHelperMockRecorder) NewUpdateChannel(offset interface{}) *gomock.Call
- func (mr *MockTelegramHandlerHelperMockRecorder) SendMessage(msg interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTelegramHandlerHelper ¶
type MockTelegramHandlerHelper struct {
// contains filtered or unexported fields
}
MockTelegramHandlerHelper is a mock of TelegramHandlerHelper interface.
func NewMockTelegramHandlerHelper ¶
func NewMockTelegramHandlerHelper(ctrl *gomock.Controller) *MockTelegramHandlerHelper
NewMockTelegramHandlerHelper creates a new mock instance.
func (*MockTelegramHandlerHelper) EXPECT ¶
func (m *MockTelegramHandlerHelper) EXPECT() *MockTelegramHandlerHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTelegramHandlerHelper) GetUpdatesChan ¶
func (m *MockTelegramHandlerHelper) GetUpdatesChan(config tgbotapi.UpdateConfig) (tgbotapi.UpdatesChannel, error)
GetUpdatesChan mocks base method.
func (*MockTelegramHandlerHelper) NewMessage ¶
func (m *MockTelegramHandlerHelper) NewMessage(chatID int64, text string) tgbotapi.MessageConfig
NewMessage mocks base method.
func (*MockTelegramHandlerHelper) NewUpdateChannel ¶
func (m *MockTelegramHandlerHelper) NewUpdateChannel(offset int) tgbotapi.UpdateConfig
NewUpdateChannel mocks base method.
func (*MockTelegramHandlerHelper) SendMessage ¶
func (m *MockTelegramHandlerHelper) SendMessage(msg tgbotapi.MessageConfig) error
SendMessage mocks base method.
type MockTelegramHandlerHelperMockRecorder ¶
type MockTelegramHandlerHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockTelegramHandlerHelperMockRecorder is the mock recorder for MockTelegramHandlerHelper.
func (*MockTelegramHandlerHelperMockRecorder) GetUpdatesChan ¶
func (mr *MockTelegramHandlerHelperMockRecorder) GetUpdatesChan(config interface{}) *gomock.Call
GetUpdatesChan indicates an expected call of GetUpdatesChan.
func (*MockTelegramHandlerHelperMockRecorder) NewMessage ¶
func (mr *MockTelegramHandlerHelperMockRecorder) NewMessage(chatID, text interface{}) *gomock.Call
NewMessage indicates an expected call of NewMessage.
func (*MockTelegramHandlerHelperMockRecorder) NewUpdateChannel ¶
func (mr *MockTelegramHandlerHelperMockRecorder) NewUpdateChannel(offset interface{}) *gomock.Call
NewUpdateChannel indicates an expected call of NewUpdateChannel.
func (*MockTelegramHandlerHelperMockRecorder) SendMessage ¶
func (mr *MockTelegramHandlerHelperMockRecorder) SendMessage(msg interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage.