automock

package
v0.0.0-...-0e0a2a2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package automock is a generated GoMock package.

Package automock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthServer

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

MockAuthServer is a mock of AuthServer interface.

func NewMockAuthServer

func NewMockAuthServer(ctrl *gomock.Controller) *MockAuthServer

NewMockAuthServer creates a new mock instance.

func (*MockAuthServer) AuthenticateAccount

func (m *MockAuthServer) AuthenticateAccount(arg0 context.Context, arg1, arg2 string) common.Error

AuthenticateAccount mocks base method.

func (*MockAuthServer) EXPECT

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

func (*MockAuthServer) RegisterAccount

func (m *MockAuthServer) RegisterAccount(arg0 context.Context, arg1, arg2 string) (string, common.Error)

RegisterAccount mocks base method.

type MockAuthServerMockRecorder

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

MockAuthServerMockRecorder is the mock recorder for MockAuthServer.

func (*MockAuthServerMockRecorder) AuthenticateAccount

func (mr *MockAuthServerMockRecorder) AuthenticateAccount(arg0, arg1, arg2 interface{}) *gomock.Call

AuthenticateAccount indicates an expected call of AuthenticateAccount.

func (*MockAuthServerMockRecorder) RegisterAccount

func (mr *MockAuthServerMockRecorder) RegisterAccount(arg0, arg1, arg2 interface{}) *gomock.Call

RegisterAccount indicates an expected call of RegisterAccount.

type MockTraderRepository

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

MockTraderRepository is a mock of TraderRepository interface.

func NewMockTraderRepository

func NewMockTraderRepository(ctrl *gomock.Controller) *MockTraderRepository

NewMockTraderRepository creates a new mock instance.

func (*MockTraderRepository) CreateTrader

func (m *MockTraderRepository) CreateTrader(arg0 context.Context, arg1 barter.Trader) (*barter.Trader, common.Error)

CreateTrader mocks base method.

func (*MockTraderRepository) EXPECT

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

func (*MockTraderRepository) GetTraderByEmail

func (m *MockTraderRepository) GetTraderByEmail(arg0 context.Context, arg1 string) (*barter.Trader, common.Error)

GetTraderByEmail mocks base method.

type MockTraderRepositoryMockRecorder

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

MockTraderRepositoryMockRecorder is the mock recorder for MockTraderRepository.

func (*MockTraderRepositoryMockRecorder) CreateTrader

func (mr *MockTraderRepositoryMockRecorder) CreateTrader(arg0, arg1 interface{}) *gomock.Call

CreateTrader indicates an expected call of CreateTrader.

func (*MockTraderRepositoryMockRecorder) GetTraderByEmail

func (mr *MockTraderRepositoryMockRecorder) GetTraderByEmail(arg0, arg1 interface{}) *gomock.Call

GetTraderByEmail indicates an expected call of GetTraderByEmail.

Jump to

Keyboard shortcuts

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