Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPokeAPI ¶
type MockPokeAPI struct {
// contains filtered or unexported fields
}
MockPokeAPI is a mock of PokeAPI interface.
func NewMockPokeAPI ¶
func NewMockPokeAPI(ctrl *gomock.Controller) *MockPokeAPI
NewMockPokeAPI creates a new mock instance.
func (*MockPokeAPI) EXPECT ¶
func (m *MockPokeAPI) EXPECT() *MockPokeAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPokeAPI) GetPokemon ¶
func (m *MockPokeAPI) GetPokemon(arg0 string) (*poke_api.PokeAPIData, error)
GetPokemon mocks base method.
type MockPokeAPIMockRecorder ¶
type MockPokeAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPokeAPIMockRecorder is the mock recorder for MockPokeAPI.
func (*MockPokeAPIMockRecorder) GetPokemon ¶
func (mr *MockPokeAPIMockRecorder) GetPokemon(arg0 interface{}) *gomock.Call
GetPokemon indicates an expected call of GetPokemon.
Click to show internal directories.
Click to hide internal directories.