public void BeAbleToReturnAUserControl() { JSONProductImporter importer = new JSONProductImporter(); UserControl importerUserControl = importer.GetUIForNeededAttributes(); Assert.IsNotNull(importerUserControl); }
public void BeAbleToReturnImportedProducts() { JSONProductImporter importer = new JSONProductImporter(); ICollection <Product> testProducts = importer.ImportProducts("products.json"); Assert.IsNotNull(testProducts); Assert.IsTrue(testProducts.Count == 1); }