mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeerInteractor

type BeerInteractor struct {
	mock.Mock
}

BeerInteractor is an autogenerated mock type for the BeerInteractor type

func (*BeerInteractor) CreateBeer

func (_m *BeerInteractor) CreateBeer(ctx context.Context, params *domain.CreateBeerParams) (*domain.Beer, error)

CreateBeer provides a mock function with given fields: ctx, params

func (*BeerInteractor) DeleteBeer

func (_m *BeerInteractor) DeleteBeer(ctx context.Context, params *domain.DeleteBeerParams) error

DeleteBeer provides a mock function with given fields: ctx, params

func (*BeerInteractor) GetBeer

func (_m *BeerInteractor) GetBeer(ctx context.Context, params *domain.GetBeerParams) (*domain.Beer, error)

GetBeer provides a mock function with given fields: ctx, params

func (*BeerInteractor) ListBeers

func (_m *BeerInteractor) ListBeers(ctx context.Context, params *domain.ListBeersParams) ([]*domain.Beer, error)

ListBeers provides a mock function with given fields: ctx, params

func (*BeerInteractor) UpdateBeer

func (_m *BeerInteractor) UpdateBeer(ctx context.Context, params *domain.UpdateBeerParams) (*domain.Beer, error)

UpdateBeer provides a mock function with given fields: ctx, params

Jump to

Keyboard shortcuts

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