Versions in this module Expand all Collapse all v1 v1.5.2 Sep 15, 2023 v1.5.1 Sep 15, 2023 Changes in this version + const Anything + func AssertExpectationsForObjects(t TestingT, testObjects ...interface{}) bool + func MatchedBy(fn interface{}) argumentMatcher + type AnythingOfTypeArgument string + func AnythingOfType(t string) AnythingOfTypeArgument + type Arguments []interface + func (args Arguments) Assert(t TestingT, objects ...interface{}) bool + func (args Arguments) Bool(index int) bool + func (args Arguments) Diff(objects []interface{}) (string, int) + func (args Arguments) Error(index int) error + func (args Arguments) Get(index int) interface{} + func (args Arguments) Int(index int) int + func (args Arguments) Is(objects ...interface{}) bool + func (args Arguments) String(indexOrNil ...int) string + type Call struct + Arguments Arguments + Method string + Parent *Mock + Repeatability int + ReturnArguments Arguments + RunFn func(Arguments) + WaitFor <-chan time.Time + func (c *Call) After(d time.Duration) *Call + func (c *Call) Maybe() *Call + func (c *Call) On(methodName string, arguments ...interface{}) *Call + func (c *Call) Once() *Call + func (c *Call) Return(returnArguments ...interface{}) *Call + func (c *Call) Run(fn func(args Arguments)) *Call + func (c *Call) Times(i int) *Call + func (c *Call) Twice() *Call + func (c *Call) WaitUntil(w <-chan time.Time) *Call + type IsTypeArgument struct + func IsType(t interface{}) *IsTypeArgument + type Mock struct + Calls []Call + ExpectedCalls []*Call + func (m *Mock) AssertCalled(t TestingT, methodName string, arguments ...interface{}) bool + func (m *Mock) AssertExpectations(t TestingT) bool + func (m *Mock) AssertNotCalled(t TestingT, methodName string, arguments ...interface{}) bool + func (m *Mock) AssertNumberOfCalls(t TestingT, methodName string, expectedCalls int) bool + func (m *Mock) Called(arguments ...interface{}) Arguments + func (m *Mock) MethodCalled(methodName string, arguments ...interface{}) Arguments + func (m *Mock) On(methodName string, arguments ...interface{}) *Call + func (m *Mock) Test(t TestingT) + func (m *Mock) TestData() objx.Map + type TestingT interface + Errorf func(format string, args ...interface{}) + FailNow func() + Logf func(format string, args ...interface{})