/**
 * @overview Create a mock response object.
 * @returns {object} - Mock object.
 */
module.exports = function () {
    return {
        headers: {},
        writeHead: function (data) {

        },
        json: function (data) {

        },
        end: function (data) {

        },
        status: function (data) {

        },
        render: function (data) {

        },
        getHeader: function (key) {
        },
        setHeader: function (key, val) {
            var s = this;
            s.headers[key] = val;
        },
        pipe: function () {

        }
    };
};