mocks

package
v0.0.0-...-440c409 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatServiceMock

type ChatServiceMock struct {
	CheckChatAvailabilityMock mChatServiceMockCheckChatAvailability

	CheckCtxUserChatAvailabilityMock mChatServiceMockCheckCtxUserChatAvailability

	ConnectChatMock mChatServiceMockConnectChat

	CreateChatMock mChatServiceMockCreateChat

	DeleteChatMock mChatServiceMockDeleteChat

	GetAvailableChatsAndCountMock mChatServiceMockGetAvailableChatsAndCount

	GetChannelsMock mChatServiceMockGetChannels

	GetChatMessagesAndCountMock mChatServiceMockGetChatMessagesAndCount

	InitMessagesChanMock mChatServiceMockInitMessagesChan

	SendMessageMock mChatServiceMockSendMessage
	// contains filtered or unexported fields
}

ChatServiceMock implements service.ChatService

func NewChatServiceMock

func NewChatServiceMock(t minimock.Tester) *ChatServiceMock

NewChatServiceMock returns a mock for service.ChatService

func (*ChatServiceMock) CheckChatAvailability

func (mmCheckChatAvailability *ChatServiceMock) CheckChatAvailability(ctx context.Context, chatID int64, username string) (err error)

CheckChatAvailability implements service.ChatService

func (*ChatServiceMock) CheckChatAvailabilityAfterCounter

func (mmCheckChatAvailability *ChatServiceMock) CheckChatAvailabilityAfterCounter() uint64

CheckChatAvailabilityAfterCounter returns a count of finished ChatServiceMock.CheckChatAvailability invocations

func (*ChatServiceMock) CheckChatAvailabilityBeforeCounter

func (mmCheckChatAvailability *ChatServiceMock) CheckChatAvailabilityBeforeCounter() uint64

CheckChatAvailabilityBeforeCounter returns a count of ChatServiceMock.CheckChatAvailability invocations

func (*ChatServiceMock) CheckCtxUserChatAvailability

func (mmCheckCtxUserChatAvailability *ChatServiceMock) CheckCtxUserChatAvailability(ctx context.Context, chatID int64) (err error)

CheckCtxUserChatAvailability implements service.ChatService

func (*ChatServiceMock) CheckCtxUserChatAvailabilityAfterCounter

func (mmCheckCtxUserChatAvailability *ChatServiceMock) CheckCtxUserChatAvailabilityAfterCounter() uint64

CheckCtxUserChatAvailabilityAfterCounter returns a count of finished ChatServiceMock.CheckCtxUserChatAvailability invocations

func (*ChatServiceMock) CheckCtxUserChatAvailabilityBeforeCounter

func (mmCheckCtxUserChatAvailability *ChatServiceMock) CheckCtxUserChatAvailabilityBeforeCounter() uint64

CheckCtxUserChatAvailabilityBeforeCounter returns a count of ChatServiceMock.CheckCtxUserChatAvailability invocations

func (*ChatServiceMock) ConnectChat

func (mmConnectChat *ChatServiceMock) ConnectChat(stream mm_service.Stream, chatID int64) (err error)

ConnectChat implements service.ChatService

func (*ChatServiceMock) ConnectChatAfterCounter

func (mmConnectChat *ChatServiceMock) ConnectChatAfterCounter() uint64

ConnectChatAfterCounter returns a count of finished ChatServiceMock.ConnectChat invocations

func (*ChatServiceMock) ConnectChatBeforeCounter

func (mmConnectChat *ChatServiceMock) ConnectChatBeforeCounter() uint64

ConnectChatBeforeCounter returns a count of ChatServiceMock.ConnectChat invocations

func (*ChatServiceMock) CreateChat

func (mmCreateChat *ChatServiceMock) CreateChat(ctx context.Context, usernames []string, title string) (i1 int64, err error)

CreateChat implements service.ChatService

func (*ChatServiceMock) CreateChatAfterCounter

func (mmCreateChat *ChatServiceMock) CreateChatAfterCounter() uint64

CreateChatAfterCounter returns a count of finished ChatServiceMock.CreateChat invocations

func (*ChatServiceMock) CreateChatBeforeCounter

func (mmCreateChat *ChatServiceMock) CreateChatBeforeCounter() uint64

CreateChatBeforeCounter returns a count of ChatServiceMock.CreateChat invocations

func (*ChatServiceMock) DeleteChat

func (mmDeleteChat *ChatServiceMock) DeleteChat(ctx context.Context, chatID int64) (err error)

DeleteChat implements service.ChatService

func (*ChatServiceMock) DeleteChatAfterCounter

func (mmDeleteChat *ChatServiceMock) DeleteChatAfterCounter() uint64

DeleteChatAfterCounter returns a count of finished ChatServiceMock.DeleteChat invocations

func (*ChatServiceMock) DeleteChatBeforeCounter

func (mmDeleteChat *ChatServiceMock) DeleteChatBeforeCounter() uint64

DeleteChatBeforeCounter returns a count of ChatServiceMock.DeleteChat invocations

func (*ChatServiceMock) GetAvailableChatsAndCount

func (mmGetAvailableChatsAndCount *ChatServiceMock) GetAvailableChatsAndCount(ctx context.Context, page int64, pageSize int64) (cpa1 []*serviceModel.Chat, u1 uint64, err error)

GetAvailableChatsAndCount implements service.ChatService

func (*ChatServiceMock) GetAvailableChatsAndCountAfterCounter

func (mmGetAvailableChatsAndCount *ChatServiceMock) GetAvailableChatsAndCountAfterCounter() uint64

GetAvailableChatsAndCountAfterCounter returns a count of finished ChatServiceMock.GetAvailableChatsAndCount invocations

func (*ChatServiceMock) GetAvailableChatsAndCountBeforeCounter

func (mmGetAvailableChatsAndCount *ChatServiceMock) GetAvailableChatsAndCountBeforeCounter() uint64

GetAvailableChatsAndCountBeforeCounter returns a count of ChatServiceMock.GetAvailableChatsAndCount invocations

func (*ChatServiceMock) GetChannels

func (mmGetChannels *ChatServiceMock) GetChannels() (m1 map[int64]chan *serviceModel.ChatMessage)

GetChannels implements service.ChatService

func (*ChatServiceMock) GetChannelsAfterCounter

func (mmGetChannels *ChatServiceMock) GetChannelsAfterCounter() uint64

GetChannelsAfterCounter returns a count of finished ChatServiceMock.GetChannels invocations

func (*ChatServiceMock) GetChannelsBeforeCounter

func (mmGetChannels *ChatServiceMock) GetChannelsBeforeCounter() uint64

GetChannelsBeforeCounter returns a count of ChatServiceMock.GetChannels invocations

func (*ChatServiceMock) GetChatMessagesAndCount

func (mmGetChatMessagesAndCount *ChatServiceMock) GetChatMessagesAndCount(ctx context.Context, chatID int64, page int64, pageSize int64) (cpa1 []*serviceModel.ChatMessage, u1 uint64, err error)

GetChatMessagesAndCount implements service.ChatService

func (*ChatServiceMock) GetChatMessagesAndCountAfterCounter

func (mmGetChatMessagesAndCount *ChatServiceMock) GetChatMessagesAndCountAfterCounter() uint64

GetChatMessagesAndCountAfterCounter returns a count of finished ChatServiceMock.GetChatMessagesAndCount invocations

func (*ChatServiceMock) GetChatMessagesAndCountBeforeCounter

func (mmGetChatMessagesAndCount *ChatServiceMock) GetChatMessagesAndCountBeforeCounter() uint64

GetChatMessagesAndCountBeforeCounter returns a count of ChatServiceMock.GetChatMessagesAndCount invocations

func (*ChatServiceMock) InitMessagesChan

func (mmInitMessagesChan *ChatServiceMock) InitMessagesChan(chatID int64) (ch1 chan *serviceModel.ChatMessage)

InitMessagesChan implements service.ChatService

func (*ChatServiceMock) InitMessagesChanAfterCounter

func (mmInitMessagesChan *ChatServiceMock) InitMessagesChanAfterCounter() uint64

InitMessagesChanAfterCounter returns a count of finished ChatServiceMock.InitMessagesChan invocations

func (*ChatServiceMock) InitMessagesChanBeforeCounter

func (mmInitMessagesChan *ChatServiceMock) InitMessagesChanBeforeCounter() uint64

InitMessagesChanBeforeCounter returns a count of ChatServiceMock.InitMessagesChan invocations

func (*ChatServiceMock) MinimockCheckChatAvailabilityDone

func (m *ChatServiceMock) MinimockCheckChatAvailabilityDone() bool

MinimockCheckChatAvailabilityDone returns true if the count of the CheckChatAvailability invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockCheckChatAvailabilityInspect

func (m *ChatServiceMock) MinimockCheckChatAvailabilityInspect()

MinimockCheckChatAvailabilityInspect logs each unmet expectation

func (*ChatServiceMock) MinimockCheckCtxUserChatAvailabilityDone

func (m *ChatServiceMock) MinimockCheckCtxUserChatAvailabilityDone() bool

MinimockCheckCtxUserChatAvailabilityDone returns true if the count of the CheckCtxUserChatAvailability invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockCheckCtxUserChatAvailabilityInspect

func (m *ChatServiceMock) MinimockCheckCtxUserChatAvailabilityInspect()

MinimockCheckCtxUserChatAvailabilityInspect logs each unmet expectation

func (*ChatServiceMock) MinimockConnectChatDone

func (m *ChatServiceMock) MinimockConnectChatDone() bool

MinimockConnectChatDone returns true if the count of the ConnectChat invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockConnectChatInspect

func (m *ChatServiceMock) MinimockConnectChatInspect()

MinimockConnectChatInspect logs each unmet expectation

func (*ChatServiceMock) MinimockCreateChatDone

func (m *ChatServiceMock) MinimockCreateChatDone() bool

MinimockCreateChatDone returns true if the count of the CreateChat invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockCreateChatInspect

func (m *ChatServiceMock) MinimockCreateChatInspect()

MinimockCreateChatInspect logs each unmet expectation

func (*ChatServiceMock) MinimockDeleteChatDone

func (m *ChatServiceMock) MinimockDeleteChatDone() bool

MinimockDeleteChatDone returns true if the count of the DeleteChat invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockDeleteChatInspect

func (m *ChatServiceMock) MinimockDeleteChatInspect()

MinimockDeleteChatInspect logs each unmet expectation

func (*ChatServiceMock) MinimockFinish

func (m *ChatServiceMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*ChatServiceMock) MinimockGetAvailableChatsAndCountDone

func (m *ChatServiceMock) MinimockGetAvailableChatsAndCountDone() bool

MinimockGetAvailableChatsAndCountDone returns true if the count of the GetAvailableChatsAndCount invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockGetAvailableChatsAndCountInspect

func (m *ChatServiceMock) MinimockGetAvailableChatsAndCountInspect()

MinimockGetAvailableChatsAndCountInspect logs each unmet expectation

func (*ChatServiceMock) MinimockGetChannelsDone

func (m *ChatServiceMock) MinimockGetChannelsDone() bool

MinimockGetChannelsDone returns true if the count of the GetChannels invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockGetChannelsInspect

func (m *ChatServiceMock) MinimockGetChannelsInspect()

MinimockGetChannelsInspect logs each unmet expectation

func (*ChatServiceMock) MinimockGetChatMessagesAndCountDone

func (m *ChatServiceMock) MinimockGetChatMessagesAndCountDone() bool

MinimockGetChatMessagesAndCountDone returns true if the count of the GetChatMessagesAndCount invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockGetChatMessagesAndCountInspect

func (m *ChatServiceMock) MinimockGetChatMessagesAndCountInspect()

MinimockGetChatMessagesAndCountInspect logs each unmet expectation

func (*ChatServiceMock) MinimockInitMessagesChanDone

func (m *ChatServiceMock) MinimockInitMessagesChanDone() bool

MinimockInitMessagesChanDone returns true if the count of the InitMessagesChan invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockInitMessagesChanInspect

func (m *ChatServiceMock) MinimockInitMessagesChanInspect()

MinimockInitMessagesChanInspect logs each unmet expectation

func (*ChatServiceMock) MinimockSendMessageDone

func (m *ChatServiceMock) MinimockSendMessageDone() bool

MinimockSendMessageDone returns true if the count of the SendMessage invocations corresponds the number of defined expectations

func (*ChatServiceMock) MinimockSendMessageInspect

func (m *ChatServiceMock) MinimockSendMessageInspect()

MinimockSendMessageInspect logs each unmet expectation

func (*ChatServiceMock) MinimockWait

func (m *ChatServiceMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*ChatServiceMock) SendMessage

func (mmSendMessage *ChatServiceMock) SendMessage(ctx context.Context, text string, chatID int64) (err error)

SendMessage implements service.ChatService

func (*ChatServiceMock) SendMessageAfterCounter

func (mmSendMessage *ChatServiceMock) SendMessageAfterCounter() uint64

SendMessageAfterCounter returns a count of finished ChatServiceMock.SendMessage invocations

func (*ChatServiceMock) SendMessageBeforeCounter

func (mmSendMessage *ChatServiceMock) SendMessageBeforeCounter() uint64

SendMessageBeforeCounter returns a count of ChatServiceMock.SendMessage invocations

type ChatServiceMockCheckChatAvailabilityExpectation

type ChatServiceMockCheckChatAvailabilityExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockCheckChatAvailabilityExpectation specifies expectation struct of the ChatService.CheckChatAvailability

func (*ChatServiceMockCheckChatAvailabilityExpectation) Then

Then sets up ChatService.CheckChatAvailability return parameters for the expectation previously defined by the When method

type ChatServiceMockCheckChatAvailabilityParams

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

ChatServiceMockCheckChatAvailabilityParams contains parameters of the ChatService.CheckChatAvailability

type ChatServiceMockCheckChatAvailabilityResults

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

ChatServiceMockCheckChatAvailabilityResults contains results of the ChatService.CheckChatAvailability

type ChatServiceMockCheckCtxUserChatAvailabilityExpectation

type ChatServiceMockCheckCtxUserChatAvailabilityExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockCheckCtxUserChatAvailabilityExpectation specifies expectation struct of the ChatService.CheckCtxUserChatAvailability

func (*ChatServiceMockCheckCtxUserChatAvailabilityExpectation) Then

Then sets up ChatService.CheckCtxUserChatAvailability return parameters for the expectation previously defined by the When method

type ChatServiceMockCheckCtxUserChatAvailabilityParams

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

ChatServiceMockCheckCtxUserChatAvailabilityParams contains parameters of the ChatService.CheckCtxUserChatAvailability

type ChatServiceMockCheckCtxUserChatAvailabilityResults

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

ChatServiceMockCheckCtxUserChatAvailabilityResults contains results of the ChatService.CheckCtxUserChatAvailability

type ChatServiceMockConnectChatExpectation

type ChatServiceMockConnectChatExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockConnectChatExpectation specifies expectation struct of the ChatService.ConnectChat

func (*ChatServiceMockConnectChatExpectation) Then

Then sets up ChatService.ConnectChat return parameters for the expectation previously defined by the When method

type ChatServiceMockConnectChatParams

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

ChatServiceMockConnectChatParams contains parameters of the ChatService.ConnectChat

type ChatServiceMockConnectChatResults

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

ChatServiceMockConnectChatResults contains results of the ChatService.ConnectChat

type ChatServiceMockCreateChatExpectation

type ChatServiceMockCreateChatExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockCreateChatExpectation specifies expectation struct of the ChatService.CreateChat

func (*ChatServiceMockCreateChatExpectation) Then

Then sets up ChatService.CreateChat return parameters for the expectation previously defined by the When method

type ChatServiceMockCreateChatParams

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

ChatServiceMockCreateChatParams contains parameters of the ChatService.CreateChat

type ChatServiceMockCreateChatResults

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

ChatServiceMockCreateChatResults contains results of the ChatService.CreateChat

type ChatServiceMockDeleteChatExpectation

type ChatServiceMockDeleteChatExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockDeleteChatExpectation specifies expectation struct of the ChatService.DeleteChat

func (*ChatServiceMockDeleteChatExpectation) Then

Then sets up ChatService.DeleteChat return parameters for the expectation previously defined by the When method

type ChatServiceMockDeleteChatParams

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

ChatServiceMockDeleteChatParams contains parameters of the ChatService.DeleteChat

type ChatServiceMockDeleteChatResults

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

ChatServiceMockDeleteChatResults contains results of the ChatService.DeleteChat

type ChatServiceMockGetAvailableChatsAndCountExpectation

type ChatServiceMockGetAvailableChatsAndCountExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockGetAvailableChatsAndCountExpectation specifies expectation struct of the ChatService.GetAvailableChatsAndCount

func (*ChatServiceMockGetAvailableChatsAndCountExpectation) Then

Then sets up ChatService.GetAvailableChatsAndCount return parameters for the expectation previously defined by the When method

type ChatServiceMockGetAvailableChatsAndCountParams

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

ChatServiceMockGetAvailableChatsAndCountParams contains parameters of the ChatService.GetAvailableChatsAndCount

type ChatServiceMockGetAvailableChatsAndCountResults

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

ChatServiceMockGetAvailableChatsAndCountResults contains results of the ChatService.GetAvailableChatsAndCount

type ChatServiceMockGetChannelsExpectation

type ChatServiceMockGetChannelsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockGetChannelsExpectation specifies expectation struct of the ChatService.GetChannels

type ChatServiceMockGetChannelsResults

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

ChatServiceMockGetChannelsResults contains results of the ChatService.GetChannels

type ChatServiceMockGetChatMessagesAndCountExpectation

type ChatServiceMockGetChatMessagesAndCountExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockGetChatMessagesAndCountExpectation specifies expectation struct of the ChatService.GetChatMessagesAndCount

func (*ChatServiceMockGetChatMessagesAndCountExpectation) Then

Then sets up ChatService.GetChatMessagesAndCount return parameters for the expectation previously defined by the When method

type ChatServiceMockGetChatMessagesAndCountParams

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

ChatServiceMockGetChatMessagesAndCountParams contains parameters of the ChatService.GetChatMessagesAndCount

type ChatServiceMockGetChatMessagesAndCountResults

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

ChatServiceMockGetChatMessagesAndCountResults contains results of the ChatService.GetChatMessagesAndCount

type ChatServiceMockInitMessagesChanExpectation

type ChatServiceMockInitMessagesChanExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockInitMessagesChanExpectation specifies expectation struct of the ChatService.InitMessagesChan

func (*ChatServiceMockInitMessagesChanExpectation) Then

Then sets up ChatService.InitMessagesChan return parameters for the expectation previously defined by the When method

type ChatServiceMockInitMessagesChanParams

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

ChatServiceMockInitMessagesChanParams contains parameters of the ChatService.InitMessagesChan

type ChatServiceMockInitMessagesChanResults

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

ChatServiceMockInitMessagesChanResults contains results of the ChatService.InitMessagesChan

type ChatServiceMockSendMessageExpectation

type ChatServiceMockSendMessageExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ChatServiceMockSendMessageExpectation specifies expectation struct of the ChatService.SendMessage

func (*ChatServiceMockSendMessageExpectation) Then

Then sets up ChatService.SendMessage return parameters for the expectation previously defined by the When method

type ChatServiceMockSendMessageParams

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

ChatServiceMockSendMessageParams contains parameters of the ChatService.SendMessage

type ChatServiceMockSendMessageResults

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

ChatServiceMockSendMessageResults contains results of the ChatService.SendMessage

type UserClientMock

type UserClientMock struct {
	CheckUsersExistenceMock mUserClientMockCheckUsersExistence
	// contains filtered or unexported fields
}

UserClientMock implements service.UserClient

func NewUserClientMock

func NewUserClientMock(t minimock.Tester) *UserClientMock

NewUserClientMock returns a mock for service.UserClient

func (*UserClientMock) CheckUsersExistence

func (mmCheckUsersExistence *UserClientMock) CheckUsersExistence(ctx context.Context, usernames []string) (err error)

CheckUsersExistence implements service.UserClient

func (*UserClientMock) CheckUsersExistenceAfterCounter

func (mmCheckUsersExistence *UserClientMock) CheckUsersExistenceAfterCounter() uint64

CheckUsersExistenceAfterCounter returns a count of finished UserClientMock.CheckUsersExistence invocations

func (*UserClientMock) CheckUsersExistenceBeforeCounter

func (mmCheckUsersExistence *UserClientMock) CheckUsersExistenceBeforeCounter() uint64

CheckUsersExistenceBeforeCounter returns a count of UserClientMock.CheckUsersExistence invocations

func (*UserClientMock) MinimockCheckUsersExistenceDone

func (m *UserClientMock) MinimockCheckUsersExistenceDone() bool

MinimockCheckUsersExistenceDone returns true if the count of the CheckUsersExistence invocations corresponds the number of defined expectations

func (*UserClientMock) MinimockCheckUsersExistenceInspect

func (m *UserClientMock) MinimockCheckUsersExistenceInspect()

MinimockCheckUsersExistenceInspect logs each unmet expectation

func (*UserClientMock) MinimockFinish

func (m *UserClientMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*UserClientMock) MinimockWait

func (m *UserClientMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type UserClientMockCheckUsersExistenceExpectation

type UserClientMockCheckUsersExistenceExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

UserClientMockCheckUsersExistenceExpectation specifies expectation struct of the UserClient.CheckUsersExistence

func (*UserClientMockCheckUsersExistenceExpectation) Then

Then sets up UserClient.CheckUsersExistence return parameters for the expectation previously defined by the When method

type UserClientMockCheckUsersExistenceParams

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

UserClientMockCheckUsersExistenceParams contains parameters of the UserClient.CheckUsersExistence

type UserClientMockCheckUsersExistenceResults

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

UserClientMockCheckUsersExistenceResults contains results of the UserClient.CheckUsersExistence

Jump to

Keyboard shortcuts

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