List calls ListFunc.
()
| 324 | |
| 325 | // List calls ListFunc. |
| 326 | func (mock *ExtensionManagerMock) List() []Extension { |
| 327 | if mock.ListFunc == nil { |
| 328 | panic("ExtensionManagerMock.ListFunc: method is nil but ExtensionManager.List was just called") |
| 329 | } |
| 330 | callInfo := struct { |
| 331 | }{} |
| 332 | mock.lockList.Lock() |
| 333 | mock.calls.List = append(mock.calls.List, callInfo) |
| 334 | mock.lockList.Unlock() |
| 335 | return mock.ListFunc() |
| 336 | } |
| 337 | |
| 338 | // ListCalls gets all the calls that were made to List. |
| 339 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected