Exemplo n.º 1
0
        public void _03_SHOULD_throw_InvalidOperationException_WHEN_the_device_doesnot_support_output_reports()
        {
            _device = new HIDDevice(new HIDDeviceCapabilities(10, 0));

            _device.WriteReportViaInterruptTransfer(new byte[4]);
        }
Exemplo n.º 2
0
 public void _01_SHOULD_throw_ArgumentNullException_WHEN_buffer_is_passed_null()
 {
     _device.WriteReportViaInterruptTransfer(null);
 }