code: func NewReadWriteCloser(readErr, writeErr, closeErr error) *MockReadWriteCloser {
  	return &MockReadWriteCloser{
  		ReadErr:  readErr,
  		WriteErr: writeErr,
  		CloseErr: closeErr,
  	}
  }
docs: //NewReadWriteCloser - a fake readwritecloser constructor