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