Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeTeamsDB
- func (fake *FakeTeamsDB) CreateTeam(data db.Team) (db.SavedTeam, error)
- func (fake *FakeTeamsDB) CreateTeamArgsForCall(i int) db.Team
- func (fake *FakeTeamsDB) CreateTeamCallCount() int
- func (fake *FakeTeamsDB) CreateTeamReturns(result1 db.SavedTeam, result2 error)
- func (fake *FakeTeamsDB) GetTeams() ([]db.SavedTeam, error)
- func (fake *FakeTeamsDB) GetTeamsCallCount() int
- func (fake *FakeTeamsDB) GetTeamsReturns(result1 []db.SavedTeam, result2 error)
- func (fake *FakeTeamsDB) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTeamsDB ¶
type FakeTeamsDB struct { GetTeamsStub func() ([]db.SavedTeam, error) CreateTeamStub func(data db.Team) (db.SavedTeam, error) // contains filtered or unexported fields }
func (*FakeTeamsDB) CreateTeam ¶
func (*FakeTeamsDB) CreateTeamArgsForCall ¶
func (fake *FakeTeamsDB) CreateTeamArgsForCall(i int) db.Team
func (*FakeTeamsDB) CreateTeamCallCount ¶
func (fake *FakeTeamsDB) CreateTeamCallCount() int
func (*FakeTeamsDB) CreateTeamReturns ¶
func (fake *FakeTeamsDB) CreateTeamReturns(result1 db.SavedTeam, result2 error)
func (*FakeTeamsDB) GetTeamsCallCount ¶
func (fake *FakeTeamsDB) GetTeamsCallCount() int
func (*FakeTeamsDB) GetTeamsReturns ¶
func (fake *FakeTeamsDB) GetTeamsReturns(result1 []db.SavedTeam, result2 error)
func (*FakeTeamsDB) Invocations ¶
func (fake *FakeTeamsDB) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.