func (r *MockReadWriteCloser) Read(p []byte) (n int, err error) {

	if err = r.ReadErr; err == nil {
		r.BytesRead = p
		n = len(p)
	}
	return
}
func (r *MockReadWriteCloser) Read(p []byte) (n int, err error) {

	if err = r.ReadErr; err == nil {
		r.BytesRead = p
		n = len(p)
	}
	return
}
func ( r * MockReadWriteCloser ) Read ( p [ ] byte ) ( n int , err error ) { if err = r . ReadErr ; err == nil { r . BytesRead = p n = len ( p ) } return }
//Read - satisfies reader interface
Read - satisfies reader interface