Exemplo n.º 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));
        }
Exemplo n.º 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);
        }