Пример #1
0
        public void Test()
        {
            IBuilder builder = new ConcreteBuilder();
            IProduct product = builder.Create("car");

            Assert.IsNotNull(product);
            Assert.AreEqual <double>(50000, product.Price);
            Assert.AreEqual <string>("4", product.Features[0].Description);
        }