| 7 | ) |
| 8 | |
| 9 | type FakeReader struct { |
| 10 | ReadStub func([]byte) (int, error) |
| 11 | readMutex sync.RWMutex |
| 12 | readArgsForCall []struct { |
| 13 | arg1 []byte |
| 14 | } |
| 15 | readReturns struct { |
| 16 | result1 int |
| 17 | result2 error |
| 18 | } |
| 19 | readReturnsOnCall map[int]struct { |
| 20 | result1 int |
| 21 | result2 error |
| 22 | } |
| 23 | invocations map[string][][]interface{} |
| 24 | invocationsMutex sync.RWMutex |
| 25 | } |
| 26 | |
| 27 | func (fake *FakeReader) Read(arg1 []byte) (int, error) { |
| 28 | var arg1Copy []byte |
nothing calls this directly
no outgoing calls
no test coverage detected