mock

package
v0.0.0-...-36feab7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: MIT Imports: 4 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 MockUserProvider

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

MockUserProvider is a mock of UserProvider interface.

func NewMockUserProvider

func NewMockUserProvider(ctrl *gomock.Controller) *MockUserProvider

NewMockUserProvider creates a new mock instance.

func (*MockUserProvider) EXPECT

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

func (*MockUserProvider) GetInfo

func (m *MockUserProvider) GetInfo(ctx context.Context, userReferenceID string) (*dto.Info, error)

GetInfo mocks base method.

func (*MockUserProvider) GetProfile

func (m *MockUserProvider) GetProfile(ctx context.Context, username, userReferenceID string) (*dto.Profile, error)

GetProfile mocks base method.

type MockUserProviderMockRecorder

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

MockUserProviderMockRecorder is the mock recorder for MockUserProvider.

func (*MockUserProviderMockRecorder) GetInfo

func (mr *MockUserProviderMockRecorder) GetInfo(ctx, userReferenceID interface{}) *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockUserProviderMockRecorder) GetProfile

func (mr *MockUserProviderMockRecorder) GetProfile(ctx, username, userReferenceID interface{}) *gomock.Call

GetProfile indicates an expected call of GetProfile.

Jump to

Keyboard shortcuts

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