Exemple #1
0
 public string Scan(string fileFormat, string scannerID)
 {
     return(_scanningService.Scan(fileFormat, scannerID));
 }
 public void Scan(string item) => scannedProducts = _scanService.Scan(new ItemstoScan(item));
 public void Scan_ItemNotInStore_ThrowsException()
 {
     // Act & Assert
     Assert.Throws <Exception>(() => _scanService.Scan("tangerine"));
 }