Versions in this module Expand all Collapse all v1 v1.0.0 Jul 22, 2017 Changes in this version + func InOrder(calls ...*Call) + type Call struct + func (c *Call) After(preReq *Call) *Call + func (c *Call) AnyTimes() *Call + func (c *Call) Do(f interface{}) *Call + func (c *Call) MaxTimes(n int) *Call + func (c *Call) MinTimes(n int) *Call + func (c *Call) Return(rets ...interface{}) *Call + func (c *Call) SetArg(n int, value interface{}) *Call + func (c *Call) String() string + func (c *Call) Times(n int) *Call + type Controller struct + func NewController(t TestReporter) *Controller + func (ctrl *Controller) Call(receiver interface{}, method string, args ...interface{}) []interface{} + func (ctrl *Controller) Finish() + func (ctrl *Controller) RecordCall(receiver interface{}, method string, args ...interface{}) *Call + func (ctrl *Controller) RecordCallWithMethodType(receiver interface{}, method string, methodType reflect.Type, ...) *Call + type Matcher interface + Matches func(x interface{}) bool + String func() string + func Any() Matcher + func Eq(x interface{}) Matcher + func Nil() Matcher + func Not(x interface{}) Matcher + type TestReporter interface + Errorf func(format string, args ...interface{}) + Fatalf func(format string, args ...interface{})