/test/mocks/mockPhysicalDataCenterFactory.h
https://github.com/deltaforge/nebu-common-cpp · C Header · 28 lines · 18 code · 9 blank · 1 comment · 0 complexity · 95d5fcbaeb57c12a7079b48f2e08c9b0 MD5 · raw file
- #ifndef NEBUTEST_MOCKPHYSICALDATACENTERFACTORY_H_
- #define NEBUTEST_MOCKPHYSICALDATACENTERFACTORY_H_
- #include "gmock/gmock.h"
- #include "nebu/topology/physicalDataCenterFactory.h"
- namespace nebu
- {
- namespace test
- {
- class MockPhysicalDataCenterFactory : public nebu::common::PhysicalDataCenterFactory
- {
- public:
- MockPhysicalDataCenterFactory() : PhysicalDataCenterFactory() { };
- // virtual ~MockPhysicalDataCenterFactory() { };
- MOCK_CONST_METHOD1(parseXML, nebu::common::Traits<nebu::common::PhysicalDataCenter>::Ptr(const tinyxml2::XMLElement *elem));
- private:
- };
- }
- }
- #endif