"use strict";

var should = require('chai').should();
var AbstractPlatformModule = require('./../../../lib/Platform/AbstractPlatform');
var AbstractPlatform = AbstractPlatformModule.AbstractPlatform;
var MySQLPlatform = require('./../../../lib/Platform/MySQLPlatform');

describe('#MySQLPlatform', function () {
    describe('#constructor()', function () {
        it('should construct an AbstractPlatform', function () {
            let platform = new MySQLPlatform();
            platform.should.be.a('object');
            platform.should.be.instanceof(AbstractPlatform);
        });
    });
    describe('#getName()', function () {
        it('should return MySQL', function () {
            let platform = new MySQLPlatform();
            platform.getName().should.equal('MySQL');
        });
    });
});