mock

package
v0.0.0-...-dafb618 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSlackClient

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

MockSlackClient is a mock of SlackClient interface

func NewMockSlackClient

func NewMockSlackClient(ctrl *gomock.Controller) *MockSlackClient

NewMockSlackClient creates a new mock instance

func (*MockSlackClient) DeleteMessage

func (m *MockSlackClient) DeleteMessage(arg0, arg1 string) (string, string, error)

DeleteMessage mocks base method

func (*MockSlackClient) EXPECT

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

func (*MockSlackClient) GetChannelHistory

func (m *MockSlackClient) GetChannelHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)

GetChannelHistory mocks base method

func (*MockSlackClient) GetGroupHistory

func (m *MockSlackClient) GetGroupHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)

GetGroupHistory mocks base method

func (*MockSlackClient) GetIMHistory

func (m *MockSlackClient) GetIMHistory(arg0 string, arg1 slack.HistoryParameters) (*slack.History, error)

GetIMHistory mocks base method

func (*MockSlackClient) SendMessage

func (m *MockSlackClient) SendMessage(arg0 string, arg1 ...slack.MsgOption) (string, string, string, error)

SendMessage mocks base method

type MockSlackClientMockRecorder

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

MockSlackClientMockRecorder is the mock recorder for MockSlackClient

func (*MockSlackClientMockRecorder) DeleteMessage

func (mr *MockSlackClientMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call

DeleteMessage indicates an expected call of DeleteMessage

func (*MockSlackClientMockRecorder) GetChannelHistory

func (mr *MockSlackClientMockRecorder) GetChannelHistory(arg0, arg1 interface{}) *gomock.Call

GetChannelHistory indicates an expected call of GetChannelHistory

func (*MockSlackClientMockRecorder) GetGroupHistory

func (mr *MockSlackClientMockRecorder) GetGroupHistory(arg0, arg1 interface{}) *gomock.Call

GetGroupHistory indicates an expected call of GetGroupHistory

func (*MockSlackClientMockRecorder) GetIMHistory

func (mr *MockSlackClientMockRecorder) GetIMHistory(arg0, arg1 interface{}) *gomock.Call

GetIMHistory indicates an expected call of GetIMHistory

func (*MockSlackClientMockRecorder) SendMessage

func (mr *MockSlackClientMockRecorder) SendMessage(arg0 interface{}, arg1 ...interface{}) *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