/**
* @version 1.0
* @author Boris GBAHOUE
* @file Abstract class for a test template that can perform a specific operation. Similar as a Scenario but doesn't have a validate() method. Used to mutualize test patterns
* @module amiwo/test
*/
// =============================================================
// CONSTRUCTOR
// =============================================================
/**
* @classdesc Abstract class for a test template that can perform a specific operation. Similar as a Scenario but doesn't have a validate() method. Used to mutualize test patterns
* @class
* @abstract
*/
function Template() {
// empty
}
// =============================================================
// PUBLIC METHODS TO BE OVERRIDEN
// =============================================================
/**
* Execute template. Can return a rejected Promise at any step.
*
* @return {Promise}
*/
Template.prototype.execute = function() {
return null;
}
module.exports = Template;