userauthmock

package
v0.0.0-...-b784633 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package userauthmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProductAPI

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

MockProductAPI is a mock of ProductAPI interface.

func NewMockProductAPI

func NewMockProductAPI(ctrl *gomock.Controller) *MockProductAPI

NewMockProductAPI creates a new mock instance.

func (*MockProductAPI) EXPECT

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

func (*MockProductAPI) Get

Get mocks base method.

func (*MockProductAPI) UpdateQuantity

func (m *MockProductAPI) UpdateQuantity(ctx context.Context, id string, quantity int) error

UpdateQuantity mocks base method.

type MockProductAPIMockRecorder

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

MockProductAPIMockRecorder is the mock recorder for MockProductAPI.

func (*MockProductAPIMockRecorder) Get

func (mr *MockProductAPIMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockProductAPIMockRecorder) UpdateQuantity

func (mr *MockProductAPIMockRecorder) UpdateQuantity(ctx, id, quantity interface{}) *gomock.Call

UpdateQuantity indicates an expected call of UpdateQuantity.

Jump to

Keyboard shortcuts

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