| 8 | ) |
| 9 | |
| 10 | type ChaincodeStream struct { |
| 11 | RecvStub func() (*peer.ChaincodeMessage, error) |
| 12 | recvMutex sync.RWMutex |
| 13 | recvArgsForCall []struct { |
| 14 | } |
| 15 | recvReturns struct { |
| 16 | result1 *peer.ChaincodeMessage |
| 17 | result2 error |
| 18 | } |
| 19 | recvReturnsOnCall map[int]struct { |
| 20 | result1 *peer.ChaincodeMessage |
| 21 | result2 error |
| 22 | } |
| 23 | SendStub func(*peer.ChaincodeMessage) error |
| 24 | sendMutex sync.RWMutex |
| 25 | sendArgsForCall []struct { |
| 26 | arg1 *peer.ChaincodeMessage |
| 27 | } |
| 28 | sendReturns struct { |
| 29 | result1 error |
| 30 | } |
| 31 | sendReturnsOnCall map[int]struct { |
| 32 | result1 error |
| 33 | } |
| 34 | invocations map[string][][]interface{} |
| 35 | invocationsMutex sync.RWMutex |
| 36 | } |
| 37 | |
| 38 | func (fake *ChaincodeStream) Recv() (*peer.ChaincodeMessage, error) { |
| 39 | fake.recvMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected