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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IQueue

type IQueue struct {
	mock.Mock
}

IQueue is an autogenerated mock type for the IQueue type

func NewIQueue

func NewIQueue(t interface {
	mock.TestingT
	Cleanup(func())
}) *IQueue

NewIQueue creates a new instance of IQueue. 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 (*IQueue) Dequeue

func (_m *IQueue) Dequeue() interface{}

Dequeue provides a mock function with given fields:

func (*IQueue) Enqueue

func (_m *IQueue) Enqueue(_a0 interface{})

Enqueue provides a mock function with given fields: _a0

func (*IQueue) Length

func (_m *IQueue) Length() int

Length provides a mock function with given fields:

Jump to

Keyboard shortcuts

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