public void Should_get_exception_given_notnullSpecified_is_false_and_Items_is_null()
 {
     HbmManyToOne manyToOne = new HbmManyToOne
         {
             notnullSpecified = false,
             Items = null
         };
     bool? result = manyToOne.CanBeNull();
     result.ShouldBeNull();
 }
 public void Should_get__false__given_notnullSpecified_and_notnull_are_both_true()
 {
     HbmManyToOne manyToOne = new HbmManyToOne
         {
             notnullSpecified = true,
             notnull = true
         };
     bool? result = manyToOne.CanBeNull();
     result.ShouldNotBeNull();
     result.Value.ShouldBeFalse();
 }
 public void Should_get_null_given_notnullSpecified_is_false_and_Items_notnullSpecified_is_false()
 {
     HbmManyToOne manyToOne = new HbmManyToOne
         {
             notnullSpecified = false,
             Items = new object[]
                 {
                     new HbmColumn
                         {
                             notnullSpecified = false
                         }
                 }
         };
     bool? result = manyToOne.CanBeNull();
     result.ShouldBeNull();
 }