xref: /openbmc/phosphor-power/tools/i2c/test/mocked_i2c_interface.cpp (revision afb7fc3f80b2096c6e292ccaa2c37c26f326fa28)
1 #include "mocked_i2c_interface.hpp"
2 
3 #include <memory>
4 
5 namespace i2c
6 {
7 
8 std::unique_ptr<I2CInterface>
9     create(uint8_t /*busId*/, uint8_t /*devAddr*/,
10            I2CInterface::InitialState /*initialState*/)
11 {
12     return std::make_unique<MockedI2CInterface>();
13 }
14 
15 } // namespace i2c
16