public void ItCreatesAScannedItem() { var items = ScannedItemsDeserializer.Create(new string[] { "Apple" }); Assert.AreEqual(1, items.Count); Assert.AreEqual("Apple", items[0].Name); }
public void ItCreatesAnEmptyList() { var items = ScannedItemsDeserializer.Create(new string[] { }); Assert.AreEqual(0, items.Count); }