Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter is an autogenerated mock type for the Filter type
func NewFilter ¶
func NewFilter(t mockConstructorTestingTNewFilter) *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.
func (*Filter) Execute ¶
func (_m *Filter) Execute(_a0 reservations.TZReservation) bool
Execute provides a mock function with given fields: _a0
type OutputWriter ¶
OutputWriter is an autogenerated mock type for the OutputWriter type
func NewOutputWriter ¶
func NewOutputWriter(t mockConstructorTestingTNewOutputWriter) *OutputWriter
NewOutputWriter creates a new instance of OutputWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Reader ¶
Reader is an autogenerated mock type for the Reader type
func NewReader ¶
func NewReader(t mockConstructorTestingTNewReader) *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.
func (*Reader) Read ¶
func (_m *Reader) Read(_a0 io.Reader) (reservations.TZReservation, error)
Read provides a mock function with given fields: _a0
func (*Reader) ReadAll ¶
func (_m *Reader) ReadAll(_a0 io.Reader) ([]reservations.TZReservation, error)
ReadAll provides a mock function with given fields: _a0
type Writer ¶
Writer is an autogenerated mock type for the Writer type
func NewWriter ¶
func NewWriter(t mockConstructorTestingTNewWriter) *Writer
NewWriter creates a new instance of Writer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Writer) Write ¶
func (_m *Writer) Write(_a0 io.Writer, _a1 reservations.TZReservation) error
Write provides a mock function with given fields: _a0, _a1
func (*Writer) WriteAll ¶
func (_m *Writer) WriteAll(_a0 io.Writer, _a1 []reservations.TZReservation) error
WriteAll provides a mock function with given fields: _a0, _a1
func (*Writer) WriteFilter ¶
func (_m *Writer) WriteFilter(_a0 io.Writer, _a1 []reservations.TZReservation, _a2 reservations.Filter) error
WriteFilter provides a mock function with given fields: _a0, _a1, _a2