URL calls URLFunc.
()
| 347 | |
| 348 | // URL calls URLFunc. |
| 349 | func (mock *ExtensionMock) URL() string { |
| 350 | if mock.URLFunc == nil { |
| 351 | panic("ExtensionMock.URLFunc: method is nil but Extension.URL was just called") |
| 352 | } |
| 353 | callInfo := struct { |
| 354 | }{} |
| 355 | mock.lockURL.Lock() |
| 356 | mock.calls.URL = append(mock.calls.URL, callInfo) |
| 357 | mock.lockURL.Unlock() |
| 358 | return mock.URLFunc() |
| 359 | } |
| 360 | |
| 361 | // URLCalls gets all the calls that were made to URL. |
| 362 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected