| 8 | ) |
| 9 | |
| 10 | type QueryResultsIterator struct { |
| 11 | CloseStub func() |
| 12 | closeMutex sync.RWMutex |
| 13 | closeArgsForCall []struct { |
| 14 | } |
| 15 | GetBookmarkAndCloseStub func() string |
| 16 | getBookmarkAndCloseMutex sync.RWMutex |
| 17 | getBookmarkAndCloseArgsForCall []struct { |
| 18 | } |
| 19 | getBookmarkAndCloseReturns struct { |
| 20 | result1 string |
| 21 | } |
| 22 | getBookmarkAndCloseReturnsOnCall map[int]struct { |
| 23 | result1 string |
| 24 | } |
| 25 | NextStub func() (ledger.QueryResult, error) |
| 26 | nextMutex sync.RWMutex |
| 27 | nextArgsForCall []struct { |
| 28 | } |
| 29 | nextReturns struct { |
| 30 | result1 ledger.QueryResult |
| 31 | result2 error |
| 32 | } |
| 33 | nextReturnsOnCall map[int]struct { |
| 34 | result1 ledger.QueryResult |
| 35 | result2 error |
| 36 | } |
| 37 | invocations map[string][][]interface{} |
| 38 | invocationsMutex sync.RWMutex |
| 39 | } |
| 40 | |
| 41 | func (fake *QueryResultsIterator) Close() { |
| 42 | fake.closeMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected