public void TableName_Constructor_Test()
        {
            const string tableName = "tableNameABC";

            var tableAttribute = new TableAttribute(tableName);

            Assert.IsNull(tableAttribute.CatalogueName);
            Assert.IsNull(tableAttribute.Schema);
            Assert.AreEqual(tableName, tableAttribute.Name);
            Assert.IsTrue(tableAttribute.IsDefaultSchema);

            Assert.AreEqual(tableName.GetHashCode(), tableAttribute.GetHashCode());
        }
        public void Catalogue_Schema_TableName_Constructor_Test()
        {
            const string catalogue = "catalogueABC";
            const string schema = "schemaABC";
            const string tableName = "tableNameABC";

            var tableAttribute = new TableAttribute(catalogue, schema, tableName);

            Assert.AreEqual(catalogue, tableAttribute.CatalogueName);
            Assert.AreEqual(schema, tableAttribute.Schema);
            Assert.AreEqual(tableName, tableAttribute.Name);
            Assert.IsFalse(tableAttribute.IsDefaultSchema);

            Assert.AreEqual(catalogue.GetHashCode() ^ schema.GetHashCode() ^ tableName.GetHashCode(),
                tableAttribute.GetHashCode());
        }
        public void NullSchema_GetHashCode_Test()
        {
            const string tableName = "tableNameABC";

            var tableAttribute = new TableAttribute(null, tableName);

            Assert.AreEqual(null, tableAttribute.Schema);

            Assert.AreEqual(tableName.GetHashCode(), tableAttribute.GetHashCode());
        }