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