public void AssignComponentRelationship()
 {
     object relationField = null;
     var hbm = new CollectionElementRelation(typeof(Address), new HbmMapping(), element => relationField = element);
     hbm.Component(comp => { });
     relationField.Should().Not.Be.Null().And.Be.OfType<HbmCompositeElement>()[email protected](
         a => !string.IsNullOrEmpty(a));
 }