public void GetDeviceTypeTest() { var cfg = new SerialPortConfig(_connString1); cfg.GetDeviceType().Should().Be(SerialPortState.PowerSupply); }