IsPinned calls IsPinnedFunc.
()
| 212 | |
| 213 | // IsPinned calls IsPinnedFunc. |
| 214 | func (mock *ExtensionMock) IsPinned() bool { |
| 215 | if mock.IsPinnedFunc == nil { |
| 216 | panic("ExtensionMock.IsPinnedFunc: method is nil but Extension.IsPinned was just called") |
| 217 | } |
| 218 | callInfo := struct { |
| 219 | }{} |
| 220 | mock.lockIsPinned.Lock() |
| 221 | mock.calls.IsPinned = append(mock.calls.IsPinned, callInfo) |
| 222 | mock.lockIsPinned.Unlock() |
| 223 | return mock.IsPinnedFunc() |
| 224 | } |
| 225 | |
| 226 | // IsPinnedCalls gets all the calls that were made to IsPinned. |
| 227 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected