panic(fmt.Sprintf("\nassert: mock: I don't know what to return because the method call was unexpected.\n\tEither do Mock.On(\"%s\").Return(...) first, or remove the %s() call.\n\tThis method was unexpected:\n\t\t%s\n\tat: %s",functionName,functionName,callString(functionName,arguments,true),assert.CallerInfo()))
panic(fmt.Sprintf("\nassert: mock: I don't know what to return because the method call was unexpected.\n\tEither do Mock.On(\"%s\").Return(...) first, or remove the %s() call.\n\tThis method was unexpected:\n\t\t%s\n\tat: %s",functionName,functionName,callString(functionName,arguments,true),assert.CallerInfo()))
t.Errorf("FAIL: %d out of %d expectation(s) were met.\n\tThe code you are testing needs to make %d more call(s).\n\tat: %s",len(m.ExpectedCalls)-failedExpectations,len(m.ExpectedCalls),failedExpectations,assert.CallerInfo())
t.Errorf("FAIL: %d out of %d expectation(s) were met.\n\tThe code you are testing needs to make %d more call(s).\n\tat: %s",len(expectedCalls)-failedExpectations,len(expectedCalls),failedExpectations,assert.CallerInfo())
if!assert.True(t,m.methodWasCalled(methodName,arguments),fmt.Sprintf("The \"%s\" method should have been called with %d argument(s), but was not.",methodName,len(arguments))){
if!assert.True(t,m.methodWasCalled(methodName,arguments),fmt.Sprintf("The \"%s\" method should have been called with %d argument(s), but was not.",methodName,len(arguments))){
if!assert.False(t,m.methodWasCalled(methodName,arguments),fmt.Sprintf("The \"%s\" method was called with %d argument(s), but should NOT have been.",methodName,len(arguments))){
if!assert.False(t,m.methodWasCalled(methodName,arguments),fmt.Sprintf("The \"%s\" method was called with %d argument(s), but should NOT have been.",methodName,len(arguments))){