#ifndef D_EXTENSION_MESSAGE_TEST_HELPER_H #define D_EXTENSION_MESSAGE_TEST_HELPER_H #include "MockBtMessage.h" #include "MockBtMessageFactory.h" namespace aria2 { typedef WrapBtMessage WrapExtBtMessage; class WrapExtBtMessageFactory:public MockBtMessageFactory { public: virtual SharedHandle createBtExtendedMessage(const SharedHandle& extmsg) { return SharedHandle(new WrapExtBtMessage(extmsg)); } }; } // namespace aria2 #endif // D_EXTENSION_MESSAGE_TEST_HELPER_H