Class to emulate the behavior of the MileageFileHandler class. More...
#include <MockMileageFileHandler.hpp>
Public Member Functions | |
MOCK_METHOD (double, readMileage,(),(const, override)) | |
Mocked method to read the mileage from the file. | |
MOCK_METHOD (void, writeMileage,(double mileage),(const, override)) | |
Mocked method to write the mileage to the file. | |
![]() | |
virtual | ~IMileageFileHandler ()=default |
virtual double | readMileage () const =0 |
virtual void | writeMileage (double mileage) const =0 |
Class to emulate the behavior of the MileageFileHandler class.
Definition at line 26 of file MockMileageFileHandler.hpp.
MockMileageFileHandler::MOCK_METHOD | ( | double | , |
readMileage | , | ||
() | , | ||
(const, override) | ) |
Mocked method to read the mileage from the file.
MockMileageFileHandler::MOCK_METHOD | ( | void | , |
writeMileage | , | ||
(double mileage) | , | ||
(const, override) | ) |
Mocked method to write the mileage to the file.