public void HasGetSet() { var value = new EstablishmentContactInfo(); var entity = new Establishment { PartnerContactInfo = value }; entity.ShouldNotBeNull(); entity.PartnerContactInfo.ShouldEqual(value); }
protected internal Establishment() { PublicContactInfo = new EstablishmentContactInfo(); PartnerContactInfo = new EstablishmentContactInfo(); // ReSharper disable DoNotCallOverridableMethodsInConstructor EmailDomains = new Collection <EstablishmentEmailDomain>(); Urls = new Collection <EstablishmentUrl>(); Names = new Collection <EstablishmentName>(); Affiliates = new Collection <Affiliation>(); Ancestors = new Collection <EstablishmentNode>(); Children = new Collection <Establishment>(); Offspring = new Collection <EstablishmentNode>(); // ReSharper restore DoNotCallOverridableMethodsInConstructor }
protected internal Establishment() { PublicContactInfo = new EstablishmentContactInfo(); PartnerContactInfo = new EstablishmentContactInfo(); // ReSharper disable DoNotCallOverridableMethodsInConstructor EmailDomains = new Collection<EstablishmentEmailDomain>(); Urls = new Collection<EstablishmentUrl>(); Names = new Collection<EstablishmentName>(); Affiliates = new Collection<Affiliation>(); Ancestors = new Collection<EstablishmentNode>(); Children = new Collection<Establishment>(); Offspring = new Collection<EstablishmentNode>(); // ReSharper restore DoNotCallOverridableMethodsInConstructor }