function Process( onExit ) {
	if ( !( this instanceof Process ) ) {
		return new Process( onExit );
	}
	EventEmitter.call( this );
	this.exit = exit;
	this._onExit = onExit;
	return this;

	/**
	* Mock `exit` method.
	*
	* @private
	* @param {integer} code - exit code
	*/
	function exit( code ) {
		onExit( code );
	}
}
Creates a mock process object.

@private
@constructor
@param {Function} onExit - callback to invoke upon invocation of the `exit` method
@returns {Process} Process instance