public void UpdateTest()
        {
            IProductUpdator  productUpdator  = MefBase.Resolve <IProductUpdator>();
            IProductSelector productSelector = MefBase.Resolve <IProductSelector>();
            Product          product         = productSelector.Get("4");

            Assert.IsTrue(product.Description == "With roots that extend all the way back to the Wilson Ultra and legendary Pro Staff 6.0 85, the Pro Staff 90 is a true classic. This one is built for advanced players in search of incredible feel, rock solid stability and surgical precision. Featuring the ultimate player's specs, the Pro Staff 90 includes a 12+ oz weight, headlight balance, thin beam, leather grip and Wilson's tried and true Graphite/Kevlar Layup. It also has Amplifeel Technology in the handle to filter out some of the harsher vibrations. All told these ingredients add up to an unmatched level of feel, precision and plow-through. From the baseline the control on full swings is simply amazing, as is the unmistakably sublime feel when contact is cleanly made. There's also some penetrating power available to those who can get the mass moving. At net the Pro Staff 90 provides remarkable stability and pinpoint accuracy, with enough weight to punch the ball deep. All in all, this venerable racquet is simply a great option for any serious player who wants to experience the ultimate in precision and stability along with that timeless Pro Staff feel.");
            Assert.IsTrue(product.Name == "Wilson Pro Staff 90");
            Assert.IsTrue(product.ProductCategoryId == 1);

            product.Description       = "Updated Description";
            product.Name              = "Updated Name";
            product.ProductCategoryId = 1;

            productUpdator.Update(product);
            product = productSelector.Get("4");

            Assert.IsTrue(product.Description == "Updated Description");
            Assert.IsTrue(product.Name == "Updated Name");
            Assert.IsTrue(product.LastModifiedBy == "jsucupira");
        }
        public void Get_Exceptions5()
        {
            IProductSelector productSelector = MefBase.Resolve <IProductSelector>();

            productSelector.Get("123");
        }
        public void Get_Exceptions3()
        {
            IProductSelector productSelector = MefBase.Resolve <IProductSelector>();

            productSelector.Get(Guid.Empty.ToString());
        }
        public void Get_Exceptions2()
        {
            IProductSelector productSelector = MefBase.Resolve <IProductSelector>();

            productSelector.Get(string.Empty);
        }