public static void Cleanup()
        {
            if (!Settings.Default.CleanupAfterTestrun) return;

            var wrapper = new CatWebserviceWrapper(Service);
            wrapper.Connect();

            while (!wrapper.DeleteProduct(Settings.Default.TestProductValor).HasErrors) { }

            wrapper.Disconnect();
        }
        public void PublishUnpublishProductWithReadData()
        {
            ProductWebsiteDescription description = TestHelper.GetProductWebsiteDescription();

            var wrapper = new CatWebserviceWrapper(Service);
            wrapper.Connect();

            IWebserviceResult writeProduct = wrapper.WriteProduct(description);
            Assert.IsFalse(writeProduct.HasErrors);

            IWebserviceResult deleteProduct = wrapper.DeleteProduct(description.Valor);
            Assert.IsFalse(deleteProduct.HasErrors);
        }