/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    mockInjector = require('../../../mock_injector'),
    defineModel = require('../../../../lib/db/define_model.js');

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

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


exports['Define model.'] = function (test) {
    var Model = defineModel({

    });
    test.ok(Model);
    test.ok(Model.prototype);
    test.ok(new Model);
    test.done();
};