mocks

package
v0.0.0-...-d26b62e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameSearch

type GameSearch struct {
	mock.Mock
}

GameSearch is an autogenerated mock type for the GameSearch type

func NewGameSearch

func NewGameSearch(t interface {
	mock.TestingT
	Cleanup(func())
}) *GameSearch

NewGameSearch creates a new instance of GameSearch. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GameSearch) SearchGames

func (_m *GameSearch) SearchGames(query string) []dto.GameResult

SearchGames provides a mock function with given fields: query

Jump to

Keyboard shortcuts

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