code: func (_m *ReadWriter) Iterator(startType *orderer.SeekPosition) (blockledger.Iterator, uint64) {
  	ret := _m.Called(startType)
  
  	var r0 blockledger.Iterator
  	if rf, ok := ret.Get(0).(func(*orderer.SeekPosition) blockledger.Iterator); ok {
  		r0 = rf(startType)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(blockledger.Iterator)
  		}
  	}
  
  	var r1 uint64
  	if rf, ok := ret.Get(1).(func(*orderer.SeekPosition) uint64); ok {
  		r1 = rf(startType)
  	} else {
  		r1 = ret.Get(1).(uint64)
  	}
  
  	return r0, r1
  }
docs: // Iterator provides a mock function with given fields: startType