mocks

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentServiceClient

type EnvironmentServiceClient struct {
	mock.Mock
}

EnvironmentServiceClient is an autogenerated mock type for the EnvironmentServiceClient type

func NewEnvironmentServiceClient

func NewEnvironmentServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *EnvironmentServiceClient

NewEnvironmentServiceClient creates a new instance of EnvironmentServiceClient. 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 (*EnvironmentServiceClient) Get

Get provides a mock function with given fields: id

func (*EnvironmentServiceClient) GetAll

GetAll provides a mock function with given fields: f

type Filter

type Filter struct {
	mock.Mock
}

Filter is an autogenerated mock type for the Filter type

func NewFilter

func NewFilter(t interface {
	mock.TestingT
	Cleanup(func())
}) *Filter

NewFilter creates a new instance of Filter. 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 (*Filter) Execute

func (_m *Filter) Execute(_a0 techzone.Reservation) bool

Execute provides a mock function with given fields: _a0

type ModelWriter

type ModelWriter struct {
	mock.Mock
}

ModelWriter is an autogenerated mock type for the ModelWriter type

func NewModelWriter

func NewModelWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ModelWriter

NewModelWriter creates a new instance of ModelWriter. 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 (*ModelWriter) WriteMany

func (_m *ModelWriter) WriteMany(w io.Writer, val interface{}) error

WriteMany provides a mock function with given fields: w, val

func (*ModelWriter) WriteOne

func (_m *ModelWriter) WriteOne(w io.Writer, val interface{}) error

WriteOne provides a mock function with given fields: w, val

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func NewReader

func NewReader(t interface {
	mock.TestingT
	Cleanup(func())
}) *Reader

NewReader creates a new instance of Reader. 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 (*Reader) Read

func (_m *Reader) Read(_a0 io.Reader) (techzone.Reservation, error)

Read provides a mock function with given fields: _a0

func (*Reader) ReadAll

func (_m *Reader) ReadAll(_a0 io.Reader) ([]techzone.Reservation, error)

ReadAll provides a mock function with given fields: _a0

type ReservationServiceClient

type ReservationServiceClient struct {
	mock.Mock
}

ReservationServiceClient is an autogenerated mock type for the ReservationServiceClient type

func NewReservationServiceClient

func NewReservationServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReservationServiceClient

NewReservationServiceClient creates a new instance of ReservationServiceClient. 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 (*ReservationServiceClient) Get

Get provides a mock function with given fields: id

func (*ReservationServiceClient) GetAll

GetAll provides a mock function with given fields: f

Jump to

Keyboard shortcuts

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