public void ScanNonExistingProduct_WithEmptyPricesSet_ExceptionThrown()
        {
            var terminal = new PointOfSaleTerminal(new PointOfSaleProduct[0]);

            Assert.Throws(typeof(ArgumentException), () => terminal.Scan("A"));
        }
 private void ScanStringAsChars(PointOfSaleTerminal terminal, string productCodes)
 {
     foreach(char ch in productCodes)
     {
         terminal.Scan(ch.ToString());
     }
 }