Esempio n. 1
0
 public ExporterMapTests()
 {
     exporter = new TestableExporter
     {
         Id = Guid1
     };
     exporterMap = new ExporterDataMap(addressMap, businessMap, contactMap);
 }
 public ExporterMapTests()
 {
     exporter = new TestableExporter
     {
         Id = Guid1
     };
     exporterMap = new ExporterDataMap(addressMap, businessMap, contactMap);
 }
        private Exporter CreateExporter(Guid notificationId, string exporterName)
        {
            var business = (TestableBusiness)TestableBusiness.LargeObjectHeap;

            business.Name = exporterName;

            var exporter = new TestableExporter
            {
                NotificationId = notificationId,
                Address        = TestableAddress.SouthernHouse,
                Contact        = TestableContact.BillyKnuckles,
                Business       = business
            };

            return(exporter);
        }
        private Exporter CreateExporter(Guid notificationId, string exporterName)
        {
            var business = (TestableBusiness)TestableBusiness.LargeObjectHeap;
            business.Name = exporterName;

            var exporter = new TestableExporter
            {
                NotificationId = notificationId,
                Address = TestableAddress.SouthernHouse,
                Contact = TestableContact.BillyKnuckles,
                Business = business
            };

            return exporter;
        }