unfortunately this code and applications using this library are not testable because all important classes are final and therefore can not be mocked.
It would be of great help if at least SerialPortEvent is not declared final anymore. Then one can pass a mock to listener.serialEvent() and test the logic.
Hello,
unfortunately this code and applications using this library are not testable because all important classes are final and therefore can not be mocked.
It would be of great help if at least SerialPortEvent is not declared final anymore. Then one can pass a mock to listener.serialEvent() and test the logic.
Thanks