mocks

package
v0.0.0-...-b8f4ccc Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 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 IDataAccessor

type IDataAccessor struct {
	mock.Mock
}

IDataAccessor is an autogenerated mock type for the IDataAccessor type

func (*IDataAccessor) AddPet

func (_m *IDataAccessor) AddPet(pet *models.Pet) (*api.Pet, *api.Error)

AddPet provides a mock function with given fields: pet

func (*IDataAccessor) DeletePet

func (_m *IDataAccessor) DeletePet(petId int64) *api.Error

DeletePet provides a mock function with given fields: petId

func (*IDataAccessor) GetPetById

func (_m *IDataAccessor) GetPetById(petId int64) (*api.Pet, *api.Error)

GetPetById provides a mock function with given fields: petId

func (*IDataAccessor) GetPets

func (_m *IDataAccessor) GetPets() ([]*api.Pet, *api.Error)

GetPets provides a mock function with given fields:

func (*IDataAccessor) UpdatePet

func (_m *IDataAccessor) UpdatePet(petId int64, pet *models.Pet) *api.Error

UpdatePet provides a mock function with given fields: petId, pet

Jump to

Keyboard shortcuts

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