example

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by genmock DO NOT EDIT. github.com/philpearl/ut/genmock

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoSomething

func DoSomething(f Fred)

Types

type Fred

type Fred interface {
	// contains filtered or unexported methods
}

type George

type George struct{}

type MockFred

type MockFred struct {
	ut.CallTracker
}

func NewMockFred

func NewMockFred(t *testing.T) *MockFred

func (*MockFred) AddCall

func (m *MockFred) AddCall(name string, params ...any) ut.CallTracker

func (*MockFred) SetReturns

func (m *MockFred) SetReturns(params ...any) ut.CallTracker

Jump to

Keyboard shortcuts

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