xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
30 lines • 956 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProcessMock = void 0;
var ProcessMock = /** @class */ (function () {
function ProcessMock(components) {
this.id = components.id;
this.name = components.name;
this.stages = components.stages;
this.status = components.status;
this.rendered = components.rendered;
}
ProcessMock.prototype.getStatus = function () {
return this.status;
};
ProcessMock.prototype.getId = function () {
return this.id;
};
ProcessMock.prototype.getName = function () {
return this.name;
};
ProcessMock.prototype.getStages = function () {
return this.stages;
};
ProcessMock.prototype.isRendered = function () {
return this.rendered;
};
return ProcessMock;
}());
exports.ProcessMock = ProcessMock;
//# sourceMappingURL=process.mock.js.map