mock

package
v0.0.0-...-9d4d447 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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