Exemple #1
0
        public void TestCapterraImporter_PersistData()
        {
            string          path            = Path.Combine(workingDirectory, "capterra.yaml");
            ProductImporter productImporter = new CapterraImporter(path);
            List <Product>  products        = productImporter.Deserialize();

            Assert.IsTrue(productImporter.PersistData(products));
        }
Exemple #2
0
        public void TestCapterraImporter_Deserialization()
        {
            string          path            = Path.Combine(workingDirectory, "capterra.yaml");
            ProductImporter productImporter = new CapterraImporter(path);
            List <Product>  products        = productImporter.Deserialize();

            Assert.IsNotNull(products);
        }