public void Should_get__true__given_unique_is_false_and_Items_uniqueSpecified_is_true_and_Items_unique_is_true()
 {
     HbmProperty property = new HbmProperty
         {
             unique = false,
             Items = new object[]
                 {
                     new HbmColumn
                         {
                             uniqueSpecified = true,
                             unique = true
                         }
                 }
         };
     bool? result = property.IsUnique();
     result.ShouldNotBeNull();
     result.Value.ShouldBeTrue();
 }
 public void Should_get__true__given_unique_is_true()
 {
     HbmProperty property = new HbmProperty
         {
             unique = true
         };
     bool? result = property.IsUnique();
     result.ShouldNotBeNull();
     result.Value.ShouldBeTrue();
 }
 public void Should_get__false__given_unique_is_false_and_Items_is_null()
 {
     HbmProperty property = new HbmProperty
         {
             unique = false,
             Items = null
         };
     bool? result = property.IsUnique();
     result.ShouldNotBeNull();
     result.Value.ShouldBeFalse();
 }