I would like to test the method I have implemented for Serial Port communication.
Basically, I can get serial port communication working using jssc library but I can't test my write/read method unless I run my code on the real device at target runtime.à
Can Mockito help me to mock a serial port or does it support serial port unit testing in some way?
Of course, I've searched the main mockito website page and github but still not found the information I am looking for.
Thanks in advance,