iteratormock

package
v0.0.0-...-bc03976 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package iteratormock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

type Iterator[T any] struct {
	// contains filtered or unexported fields
}

Iterator is a mock of Iterator interface.

func NewIterator

func NewIterator[T any](ctrl *gomock.Controller) *Iterator[T]

NewIterator creates a new mock instance.

func (*Iterator[T]) EXPECT

func (m *Iterator[T]) EXPECT() *IteratorMockRecorder[T]

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

func (*Iterator[T]) Next

func (m *Iterator[T]) Next() bool

Next mocks base method.

func (*Iterator[T]) Release

func (m *Iterator[T]) Release()

Release mocks base method.

func (*Iterator[T]) Value

func (m *Iterator[T]) Value() T

Value mocks base method.

type IteratorMockRecorder

type IteratorMockRecorder[T any] struct {
	// contains filtered or unexported fields
}

IteratorMockRecorder is the mock recorder for Iterator.

func (*IteratorMockRecorder[T]) Next

func (mr *IteratorMockRecorder[T]) Next() *gomock.Call

Next indicates an expected call of Next.

func (*IteratorMockRecorder[T]) Release

func (mr *IteratorMockRecorder[T]) Release() *gomock.Call

Release indicates an expected call of Release.

func (*IteratorMockRecorder[T]) Value

func (mr *IteratorMockRecorder[T]) Value() *gomock.Call

Value indicates an expected call of Value.

Jump to

Keyboard shortcuts

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