/** @overview nodeunit test case. */
var testResource = require('../../../test_resource'),
    mockReq = testResource.requireMockModule('mock_modules/mock_req'),
    mockRes = testResource.requireMockModule('mock_modules/mock_res'),
    defineSomethingWrongMiddleware = require('../../../../serverside/middleware/define_something_wrong_middleware.js');

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

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

exports['Something wrong middleware.'] = function (test) {
    var middleware = defineSomethingWrongMiddleware({
        filenames: {
            default: testResource.resolveMockFile('mock-html.html')
        }
    });
    test.ok(middleware);
    test.done();
};