Owner calls OwnerFunc.
()
| 293 | |
| 294 | // Owner calls OwnerFunc. |
| 295 | func (mock *ExtensionMock) Owner() string { |
| 296 | if mock.OwnerFunc == nil { |
| 297 | panic("ExtensionMock.OwnerFunc: method is nil but Extension.Owner was just called") |
| 298 | } |
| 299 | callInfo := struct { |
| 300 | }{} |
| 301 | mock.lockOwner.Lock() |
| 302 | mock.calls.Owner = append(mock.calls.Owner, callInfo) |
| 303 | mock.lockOwner.Unlock() |
| 304 | return mock.OwnerFunc() |
| 305 | } |
| 306 | |
| 307 | // OwnerCalls gets all the calls that were made to Owner. |
| 308 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected