UpdateAvailable calls UpdateAvailableFunc.
()
| 374 | |
| 375 | // UpdateAvailable calls UpdateAvailableFunc. |
| 376 | func (mock *ExtensionMock) UpdateAvailable() bool { |
| 377 | if mock.UpdateAvailableFunc == nil { |
| 378 | panic("ExtensionMock.UpdateAvailableFunc: method is nil but Extension.UpdateAvailable was just called") |
| 379 | } |
| 380 | callInfo := struct { |
| 381 | }{} |
| 382 | mock.lockUpdateAvailable.Lock() |
| 383 | mock.calls.UpdateAvailable = append(mock.calls.UpdateAvailable, callInfo) |
| 384 | mock.lockUpdateAvailable.Unlock() |
| 385 | return mock.UpdateAvailableFunc() |
| 386 | } |
| 387 | |
| 388 | // UpdateAvailableCalls gets all the calls that were made to UpdateAvailable. |
| 389 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected