mock

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 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 MockGenerator

type MockGenerator struct {
	// contains filtered or unexported fields
}

MockGenerator is a mock of Generator interface

func ExpectID

func ExpectID(t *testing.T, id string) *MockGenerator

func NewIDGenerator

func NewIDGenerator(t *testing.T) *MockGenerator

func NewIDGeneratorExpectIDs

func NewIDGeneratorExpectIDs(t *testing.T, ids ...string) *MockGenerator

func NewMockGenerator

func NewMockGenerator(ctrl *gomock.Controller) *MockGenerator

NewMockGenerator creates a new mock instance

func (*MockGenerator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGenerator) Next

func (m *MockGenerator) Next() (string, error)

Next mocks base method

type MockGeneratorMockRecorder

type MockGeneratorMockRecorder struct {
	// contains filtered or unexported fields
}

MockGeneratorMockRecorder is the mock recorder for MockGenerator

func (*MockGeneratorMockRecorder) Next

Next indicates an expected call of Next

Jump to

Keyboard shortcuts

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