usecasemock

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 usecasemock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransactionCartUpdater

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

MockTransactionCartUpdater is a mock of TransactionCartUpdater interface.

func NewMockTransactionCartUpdater

func NewMockTransactionCartUpdater(ctrl *gomock.Controller) *MockTransactionCartUpdater

NewMockTransactionCartUpdater creates a new mock instance.

func (*MockTransactionCartUpdater) EXPECT

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

func (*MockTransactionCartUpdater) UpdateCart

func (m *MockTransactionCartUpdater) UpdateCart(ctx context.Context, userId string, cart usecase.Cart) error

UpdateCart mocks base method.

type MockTransactionCartUpdaterMockRecorder

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

MockTransactionCartUpdaterMockRecorder is the mock recorder for MockTransactionCartUpdater.

func (*MockTransactionCartUpdaterMockRecorder) UpdateCart

func (mr *MockTransactionCartUpdaterMockRecorder) UpdateCart(ctx, userId, cart interface{}) *gomock.Call

UpdateCart indicates an expected call of UpdateCart.

Jump to

Keyboard shortcuts

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