docs: function ImageMock() {
  
  	var _complete = true;
  	var _width = 0;
  	var _height = 0;
  	var _src = '';
  	var _onLoad = null;
  	var _loadTimeoutId;
  
  	Object.defineProperties(this, {
  		complete: {
  			get: function getComplete() {
  				return _complete;
  			},
  			enumerable: true
  		},
  		onload: {
  			get: function getOnload() {
  				return _onLoad;
  			},
  			set: function setOnload(callback) {
  				_onLoad = callback;
  			},
  			enumerable: true
  		},
  		width: {
  			get: function getWidth() {
  				return _width;
  			},
  			enumerable: true
  		},
  		height: {
  			get: function getHeight() {
  				return _height;
  			},
  			enumerable: true
  		},
  		src: {
  			get: function getSrc() {
  				return _src;
  			},
  			set: function setSrc(src) {
  				_complete = false;
  				platform.global.clearTimeout(_loadTimeoutId);
  				if (src) {
  					_loadTimeoutId = platform.global.setTimeout(function () {
  						_width = 10;
  						_height = 10;
  						_complete = true;
  						if (this.onload) this.onload(/*no event used*/);
  					}.bind(this), 200);
  					_src = src;
  				} else {
  					_width = 0;
  					_height = 0;
  					_src = '';
  				}
  			},
  			enumerable: true
  		}
  	});
  }