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)); }
public void TestCapterraImporter_Deserialization() { string path = Path.Combine(workingDirectory, "capterra.yaml"); ProductImporter productImporter = new CapterraImporter(path); List <Product> products = productImporter.Deserialize(); Assert.IsNotNull(products); }