Path calls PathFunc.
()
| 320 | |
| 321 | // Path calls PathFunc. |
| 322 | func (mock *ExtensionMock) Path() string { |
| 323 | if mock.PathFunc == nil { |
| 324 | panic("ExtensionMock.PathFunc: method is nil but Extension.Path was just called") |
| 325 | } |
| 326 | callInfo := struct { |
| 327 | }{} |
| 328 | mock.lockPath.Lock() |
| 329 | mock.calls.Path = append(mock.calls.Path, callInfo) |
| 330 | mock.lockPath.Unlock() |
| 331 | return mock.PathFunc() |
| 332 | } |
| 333 | |
| 334 | // PathCalls gets all the calls that were made to Path. |
| 335 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected