Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 1 | #include "extensions/openpower-pels/data_interface.hpp" |
| 2 | |
| 3 | #include <gmock/gmock.h> |
| 4 | |
| 5 | namespace openpower |
| 6 | { |
| 7 | namespace pels |
| 8 | { |
| 9 | |
| 10 | class MockDataInterface : public DataInterfaceBase |
| 11 | { |
| 12 | public: |
| 13 | MockDataInterface() |
| 14 | { |
| 15 | } |
| 16 | MOCK_CONST_METHOD0(getMachineTypeModel, std::string()); |
| 17 | MOCK_CONST_METHOD0(getMachineSerialNumber, std::string()); |
Matt Spinler | cad9c2b | 2019-12-02 15:42:01 -0600 | [diff] [blame] | 18 | MOCK_CONST_METHOD0(getServerFWVersion, std::string()); |
| 19 | MOCK_CONST_METHOD0(getBMCFWVersion, std::string()); |
Matt Spinler | 09d6400 | 2019-09-11 14:29:46 -0500 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | } // namespace pels |
| 23 | } // namespace openpower |