/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    mockInjector = require('../../../mock_injector'),
    _workerName = require('../../../../ci/worker/_worker_name.js');

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

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


exports['Worker name.'] = function (test) {
    test.equal(_workerName('do_something.js'), 'doSomething');
    test.done();
};