public void Should_read_and_write_drm_mode(ConnectionType connectionType) { using var r = new SerialReader(TestSettings.Instance.GetConnection(connectionType)); r.SetDrmEnabled(true).Result.Should().Be(DrmMode.On); r.GetDrmEnabled().Result.Should().Be(true); r.SetDrmEnabled(false).Result.Should().Be(DrmMode.Off); r.GetDrmEnabled().Result.Should().Be(false); }