/** @overview nodeunit test case. */

var testResource = require('../../../../test/test_resource'),
    mockInjector = require('../../../../test/mock_injector'),
    fileReadHelper = require('../../../../ci/helpers/file_read_helper.js');

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

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


exports['File read helper.'] = function (test) {
    test.ifError(fileReadHelper.readLine('foo/bar/__not_exists'));
    test.ok(fileReadHelper.readLine(__filename, 0, true));
    test.done();
};