コード例 #1
0
        public void GetHashCode_ShouldReturnStringHashCode()
        {
            //---------------Set up test pack-------------------
            var selectColumn = new ColumnModel("testTable", "testColumn", "testAlias")
            {
                DatabaseProvider = new SqlServerDatabaseProvider()
            };
            var hashCode = 0;

            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            Assert.DoesNotThrow(() => hashCode = selectColumn.GetHashCode());
            //---------------Test Result -----------------------
            Assert.IsNotNull(hashCode);
        }