Beispiel #1
0
        public void Test_InvalidMappings(string serial)
        {
            Action act = () => MachineSerialUtilities.MapSerialToModel(serial);

            act.Should().Throw <ArgumentException>().WithMessage("No mapping exists for this serial number");
        }
Beispiel #2
0
 public void Test_SerialToPlatform(string serial, CWSDeviceTypeEnum expectedModel)
 {
     MachineSerialUtilities.MapSerialToModel(serial).Should().Be(expectedModel);
 }