func (m *MockDataProvider) Transfer(path string) (ProcessingPhase, error) {
	m.calledPhases = append(m.calledPhases, m.infoResponse)
	m.transferPath = path
	if m.transferResponse == ProcessingPhaseError {
		if m.needsScratch {
			return ProcessingPhaseError, ErrInvalidPath
		}
		return ProcessingPhaseError, errors.New("Transfer errored")
	}
	return m.transferResponse, nil
}
// Transfer is called to transfer the data from the source to the passed in path.
Transfer is called to transfer the data from the source to the passed in path.
// Transfer is called to transfer the data from the source to the passed in path .
func (m *MockDataProvider) Transfer(path string) (ProcessingPhase, error) {
	m.calledPhases = append(m.calledPhases, m.infoResponse)
	m.transferPath = path
	if m.transferResponse == ProcessingPhaseError {
		if m.needsScratch {
			return ProcessingPhaseError, ErrInvalidPath
		}
		return ProcessingPhaseError, errors.New("Transfer errored")
	}
	return m.transferResponse, nil
}
func ( m * MockDataProvider ) Transfer ( path string ) ( ProcessingPhase , error ) { m . calledPhases = append ( m . calledPhases , m . infoResponse ) m . transferPath = path if m . transferResponse == ProcessingPhaseError { if m . needsScratch { return ProcessingPhaseError , ErrInvalidPath } return ProcessingPhaseError , errors . New ( " " ) } return m . transferResponse , nil }
Transfer is called to transfer the data from the source to the passed in path.
Transfer is called to transfer the data from the source to the passed in path .