We are new to JPos Library, and we wanted to automate testcases which needs peripheral interactions.
To automate the tests with multiple scenarios, we wanted to bypass the connected peripherals and give mock values to our application.
For e.g. We have a connected 'Scale' to measure the weight, and we wanted to mock the value read from the scale, so that this method,
scale.getWeightUnit()
returns our mock value.
Is it possible in JPos with some configurations?