Class to emulate the behavior of the BatteryController module. More...
#include <MockBatteryController.hpp>
Public Member Functions | |
MOCK_METHOD (float, getBatteryPercentage,(),(override)) | |
Mocked method to get the battery percentage. | |
![]() | |
virtual | ~IBatteryController ()=default |
virtual float | getBatteryPercentage ()=0 |
Class to emulate the behavior of the BatteryController module.
Definition at line 28 of file MockBatteryController.hpp.
MockBatteryController::MOCK_METHOD | ( | float | , |
getBatteryPercentage | , | ||
() | , | ||
(override) | ) |
Mocked method to get the battery percentage.