global.PhantomOutput = function PhantomOutput(coherenceId) {
    this.coherenceId = coherenceId;
    this.errors = [];
    this.messages = [];
};

PhantomOutput.prototype = {
    setResult: function (result) {
        this.result = result;
    }
}