/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    mockInjector = require('../../../mock_injector'),
    defineUserModel = require('../../../../serverside/model/define_user_model.js');

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

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


exports['Define user model.'] = function (test) {
    var User = defineUserModel({}),
        user = new User;
    test.ok(user);
    test.done();
};