Example #1
0
        public void CanSetUniqueKey()
        {
            var hbm    = new HbmColumn();
            var mapper = new ColumnMapper(hbm, "aColumn");

            mapper.UniqueKey("pizza");
            hbm.uniquekey.Should().Be("pizza");
        }