/**
 * @overview nodeunit test case.
 * @author "{{authorModule}}"
 *
 */
var testResource = require('{{testResourcePath}}'),
    mockInjector = require('{{mockInjectorPath}}'),
    fs = require('fs'),
    {{moduleName}} = require('{{modulePath}}');

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

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

exports['Define a task.'] = function (test) {
    var t = {{moduleName}};
    {{#each workers}}test.ok(t.{{name}}({foo:'bar'}), '{{name}} should exists.');
    {{/each}}
    test.done();
};
