public void OnTestInitialize() { _productMapId = new ProductMapId(Guid.NewGuid()); _shop = new global::Domain.Shop.Shop(new ShopId(Guid.NewGuid())); _shopProductMap = new ShopProductMap( _productMapId, _shop, ShopProductMapType.Order ); }
public void Initialization() { _name = "Example Shop Name"; _owner = new Owner(new OwnerId(Guid.NewGuid())); _payment = new global::Domain.Payment.Payment( new PaymentId(Guid.NewGuid()) ); _address = new Address("Example street", "00-000", "Warsaw", "PL"); _phone = new Phone("48", "22", "1234567"); _shop = new global::Domain.Shop.Shop(new ShopId(Guid.NewGuid())) { Name = _name, Owner = _owner, Address = _address }; _shop.Payments.Add(new DateTime(2000, 1, 1), _payment); _shop.Phones.Add(_phone); }