| 8 | ) |
| 9 | |
| 10 | type StateQueryIterator struct { |
| 11 | CloseStub func() error |
| 12 | closeMutex sync.RWMutex |
| 13 | closeArgsForCall []struct { |
| 14 | } |
| 15 | closeReturns struct { |
| 16 | result1 error |
| 17 | } |
| 18 | closeReturnsOnCall map[int]struct { |
| 19 | result1 error |
| 20 | } |
| 21 | HasNextStub func() bool |
| 22 | hasNextMutex sync.RWMutex |
| 23 | hasNextArgsForCall []struct { |
| 24 | } |
| 25 | hasNextReturns struct { |
| 26 | result1 bool |
| 27 | } |
| 28 | hasNextReturnsOnCall map[int]struct { |
| 29 | result1 bool |
| 30 | } |
| 31 | NextStub func() (*queryresult.KV, error) |
| 32 | nextMutex sync.RWMutex |
| 33 | nextArgsForCall []struct { |
| 34 | } |
| 35 | nextReturns struct { |
| 36 | result1 *queryresult.KV |
| 37 | result2 error |
| 38 | } |
| 39 | nextReturnsOnCall map[int]struct { |
| 40 | result1 *queryresult.KV |
| 41 | result2 error |
| 42 | } |
| 43 | invocations map[string][][]interface{} |
| 44 | invocationsMutex sync.RWMutex |
| 45 | } |
| 46 | |
| 47 | func (fake *StateQueryIterator) Close() error { |
| 48 | fake.closeMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected