Documentation ¶
Overview ¶
Package internal is an internal package that help to test generated mocks
Index ¶
- func AssertGoMockGenerated[T any](g *gomega.WithT, mock interface{}, ctrl *gomock.Controller)
- func AssertGoMockGeneratedMethod(g *gomega.WithT, method reflect.Method, receiver reflect.Value, ...)
- func InvokeFunc(fn reflect.Value, in []reflect.Value) []reflect.Value
- func MockValue(typ reflect.Type, isVarargs bool) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGoMockGenerated ¶
func AssertGoMockGenerated[T any](g *gomega.WithT, mock interface{}, ctrl *gomock.Controller)
AssertGoMockGenerated check given "mock" implemented interface T and invocation of interface method is recorded by ctrl
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.