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