| 85 | } |
| 86 | |
| 87 | type mockedStream struct { |
| 88 | readCh chan *string |
| 89 | writeCh chan struct{} |
| 90 | |
| 91 | writeCloseOnce sync.Once |
| 92 | } |
| 93 | |
| 94 | func (m *mockedStream) Read(p []byte) (n int, err error) { |
| 95 | result := <-m.readCh |
nothing calls this directly
no outgoing calls
no test coverage detected