function MockCopyTo() {
  /** @type {!Array<!MockCopyTo.CopyInfo>} */
  this.copiedFiles = [];

  // Replace with test function.
  fileOperationUtil.copyTo = this.copyTo_.bind(this);

  this.simulateError_ = false;

  this.entryChangedCallback_ = null;
  this.progressCallback_ = null;
  this.successCallback_ = null;
  this.errorCallback_ = null;
}
/**
 * Replaces fileOperationUtil.copyTo with some mock functionality for testing.
 * @constructor
 */
Replaces fileOperationUtil.copyTo with some mock functionality for testing.
@constructor
Replaces fileOperationUtil . copyTo with some mock functionality for testing . @constructor
function MockCopyTo() {
  this.copiedFiles = [];
  fileOperationUtil.copyTo = this.copyTo_.bind(this);
  this.simulateError_ = false;
  this.entryChangedCallback_ = null;
  this.progressCallback_ = null;
  this.successCallback_ = null;
  this.errorCallback_ = null;
}
function MockCopyTo ( ) { this . copiedFiles = [ ] ; fileOperationUtil . copyTo = this . copyTo_ . bind ( this ) ; this . simulateError_ = false ; this . entryChangedCallback_ = null ; this . progressCallback_ = null ; this . successCallback_ = null ; this . errorCallback_ = null ; }
Replaces fileOperationUtil.copyTo with some mock functionality for testing.
Replaces fileOperationUtil . copyTo with some mock functionality for testing .
/** @type {!Array<!MockCopyTo.CopyInfo>} */ // Replace with test function.