#ifndef LLARP_TEST #define LLARP_TEST #include #include #include namespace llarp { namespace test { template class LlarpTest { protected: CryptoImpl m_crypto; CryptoManager cm; LlarpTest() : cm(&m_crypto) { static_assert(std::is_base_of::value, ""); } ~LlarpTest() {} }; template <> inline LlarpTest::~LlarpTest() { CHECK(::testing::Mock::VerifyAndClearExpectations(&m_crypto)); } } // namespace test } // namespace llarp #endif