/** @overview nodeunit test case. */
var testResource = require('../../../test_resource'),
    mockRes = testResource.requireMockModule('mock_modules/mock_res'),
    mockContext = testResource.requireMockModule('mock_modules/mock_context'),
    defineResPageNotFound = require('../../../../serverside/response/define_res_page_not_found.js');

exports.setUp = function (done) {
    done();
};

exports.tearDown = function (done) {
    done();
};


exports['Define page not found.'] = function (test) {
    var pageNotFound = defineResPageNotFound(mockContext({
        EN_PAGE_NOT_FOUND_HTML_PATH: testResource.resolveMockFile('mock-html.html'),
        SUPPORTED_LANGS: 'en',
        DEFAULT_LANG: 'en',
        PAGE_NOT_FOUND_STATUS_CODE: 404
    }));
    test.ok(pageNotFound);
    test.done();
};