/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    mockContext = testResource.requireMockModule('mock_modules/mock_context'),
    newErrorLogger = require('../../../../serverside/logger/new_error_logger.js');

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

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


exports['New error logger.'] = function (test) {
    var logger = newErrorLogger(mockContext({
        ERROR_LOG_PATH: testResource.resolveWorkFile('work-error.log')
    }));
    test.ok(logger);
    test.done();
};