mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TeamService

type TeamService struct {
	mock.Mock
}

TeamService is an autogenerated mock type for the TeamService type

func NewTeamService

func NewTeamService(t mockConstructorTestingTNewTeamService) *TeamService

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

func (*TeamService) Create

func (_m *TeamService) Create(request *team.TeamRequest) (*team.TeamRequest, error)

Create provides a mock function with given fields: request

func (*TeamService) Delete

func (_m *TeamService) Delete(request *team.TeamRequest) error

Delete provides a mock function with given fields: request

func (*TeamService) FetchAllActive

func (_m *TeamService) FetchAllActive() ([]team.TeamRequest, error)

FetchAllActive provides a mock function with given fields:

func (*TeamService) FetchForAutocomplete

func (_m *TeamService) FetchForAutocomplete() ([]team.TeamRequest, error)

FetchForAutocomplete provides a mock function with given fields:

func (*TeamService) FetchOne

func (_m *TeamService) FetchOne(id int) (*team.TeamRequest, error)

FetchOne provides a mock function with given fields: id

func (*TeamService) FindByIds

func (_m *TeamService) FindByIds(ids []*int) ([]*team.TeamBean, error)

FindByIds provides a mock function with given fields: ids

func (*TeamService) FindByTeamName

func (_m *TeamService) FindByTeamName(teamName string) (*team.TeamRequest, error)

FindByTeamName provides a mock function with given fields: teamName

func (*TeamService) Update

func (_m *TeamService) Update(request *team.TeamRequest) (*team.TeamRequest, error)

Update provides a mock function with given fields: request

Jump to

Keyboard shortcuts

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