automock

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriterSumer

type WriterSumer struct {
	mock.Mock
}

WriterSumer is an autogenerated mock type for the WriterSumer type

func NewWriterSumer

func NewWriterSumer(t mockConstructorTestingTNewWriterSumer) *WriterSumer

NewWriterSumer creates a new instance of WriterSumer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*WriterSumer) Sum

func (_m *WriterSumer) Sum(b []byte) []byte

Sum provides a mock function with given fields: b

func (*WriterSumer) Write

func (_m *WriterSumer) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

Jump to

Keyboard shortcuts

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