mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookOperationsService

type BookOperationsService struct {
	mock.Mock
}

BookOperationsService is an autogenerated mock type for the BookOperationsService type

func NewBookOperationsService

func NewBookOperationsService(t mockConstructorTestingTNewBookOperationsService) *BookOperationsService

NewBookOperationsService creates a new instance of BookOperationsService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BookOperationsService) ListByUser

func (_m *BookOperationsService) ListByUser(userID string) ([]db.Book, error)

ListByUser provides a mock function with given fields: userID

type PostingService

type PostingService struct {
	mock.Mock
}

PostingService is an autogenerated mock type for the PostingService type

func NewPostingService

func NewPostingService(t mockConstructorTestingTNewPostingService) *PostingService

NewPostingService creates a new instance of PostingService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*PostingService) NewOrder

func (_m *PostingService) NewOrder(b db.Book) error

NewOrder provides a mock function with given fields: b

Jump to

Keyboard shortcuts

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