Revert refactoring changes for BaseMeasurement.java
Added test to ensure check for the exception that should have been thrown
Notes
Previously button event messages were crashing when switching to the dashboard view in the application. Turns out the conversion from SimpleVehicleMessage to Measurement was failing for the message with button and door events.
Changes
BaseMeasurement.java
Notes
Previously button event messages were crashing when switching to the dashboard view in the application. Turns out the conversion from
SimpleVehicleMessage
toMeasurement
was failing for the message with button and door events.