Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentCaptor ¶
type ArgumentCaptor[T any] struct { // contains filtered or unexported fields }
func ArgumentCaptorFrom ¶
func ArgumentCaptorFrom[T any](m *mock.Mock, name string) *ArgumentCaptor[T]
func NewArgumentCaptor ¶
func NewArgumentCaptor[T any](m *mock.Mock, name string) *ArgumentCaptor[T]
func (*ArgumentCaptor[T]) Capture ¶
func (c *ArgumentCaptor[T]) Capture(val T)
func (*ArgumentCaptor[T]) Value ¶
func (c *ArgumentCaptor[T]) Value() T
func (*ArgumentCaptor[T]) Values ¶
func (c *ArgumentCaptor[T]) Values() []T
type ArgumentsCaptor ¶
type ArgumentsCaptor struct {
// contains filtered or unexported fields
}
func ArgumentsCaptorFrom ¶
func ArgumentsCaptorFrom(m *mock.Mock, name string) *ArgumentsCaptor
func NewArgumentsCaptor ¶
func NewArgumentsCaptor(m *mock.Mock, name string) *ArgumentsCaptor
func (*ArgumentsCaptor) Capture ¶
func (c *ArgumentsCaptor) Capture(args mock.Arguments)
Click to show internal directories.
Click to hide internal directories.