function () {
    this.port = DEFAULT_STUBBATTI_PORT;
    this.app = express();
    this.console = global.console;

    var stubbatti = this;

    this.app[KILL_METHOD](KILL_PATH, function (req, res) {
        res.set('Connection', 'close');
        res.end();

        stubbatti.stop();

    });
}
function () {
    this.port = DEFAULT_STUBBATTI_PORT;
    this.app = express();
    this.console = global.console;

    var stubbatti = this;

    this.app[KILL_METHOD](KILL_PATH, function (req, res) {
        res.set('Connection', 'close');
        res.end();

        stubbatti.stop();

    });
}
function ( ) { this . port = DEFAULT_STUBBATTI_PORT ; this . app = express ( ) ; this . console = global . console ; var stubbatti = this ; this . app [ KILL_METHOD ] ( KILL_PATH , function ( req , res ) { res . set ( 'Connection' , 'close' ) ; res . end ( ) ; stubbatti . stop ( ) ; } ) ; }
Stubbatti class represents a stub server instance.
Stubbatti class represents a stub server instance .