Versions in this module Expand all Collapse all v0 v0.10.0 Mar 19, 2015 Changes in this version + const Anything + func AssertExpectationsForObjects(t TestingT, testObjects ...interface{}) bool + 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 + Repeatability int + ReturnArguments Arguments + 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) On(methodName string, arguments ...interface{}) *Mock + func (m *Mock) Once() + func (m *Mock) Return(returnArguments ...interface{}) *Mock + func (m *Mock) TestData() objx.Map + func (m *Mock) Times(i int) + func (m *Mock) Twice() + type TestingT interface + Errorf func(format string, args ...interface{}) + Logf func(format string, args ...interface{})