public void GetSetExceptionMode() { using var capture = new VideoCapture(); capture.SetExceptionMode(false); Assert.False(capture.GetExceptionMode()); capture.SetExceptionMode(true); Assert.True(capture.GetExceptionMode()); }