public void _0013_WriteBeginReadEndRead()
        {
            if (_adapterWriter.IsOpen)
            {
                _adapterWriter.Close();
            }

            if (_adapterReader.IsOpen)
            {
                _adapterReader.Close();
            }

            if (_adapterWriter.Attributes.State != CanState.SDEV_IDLE)
            {
                _adapterWriter.Services.Reset();
            }

            if (_adapterReader.Attributes.State != CanState.SDEV_IDLE)
            {
                _adapterWriter.Services.Reset();
            }

            _adapterWriter.Attributes.Termination = true;
            _adapterReader.Attributes.Termination = true;



            _adapterWriter.Open(_targetBaudrate);
            Thread.Sleep(50);
            _adapterReader.Open(_targetBaudrate);
            _adapterReader.Flush();


            for (int i = 0; i < 2; i++)
            {
                _adapterWriter.Write(new CanMessage[] { new CanMessage(0x295, new byte[] { 0x01, 0x02, 0x03 }) });
                _adapterWriter.Write(new CanMessage[] { new CanMessage(0x296, new byte[] { 0x04, 0x05, 0x06 }) });
                _adapterWriter.Write(new CanMessage[] { new CanMessage(0x4D9, new byte[] { 0x07, 0x08, 0x09 }) });
            }

            CanMessage[] rxFrames = new CanMessage[128];
            IAsyncResult iftAR    = _adapterReader.BeginRead(rxFrames, 0, 6, null, null);

            Thread.Sleep(1000);
            int msgCount = _adapterReader.EndRead(iftAR);

            Assert.AreEqual(6, msgCount, "Nem érkezett be a várt számú üzenet");
        }