blob: 82cf51162c92cda3ec7d7a35861371d599149059 [file] [log] [blame]
#include <phosphor-logging/test/sdjournal_mock.hpp>
namespace phosphor
{
namespace logging
{
TEST(LoggingSwapTest, BasicTestToEnsureItCompiles)
{
SdJournalMock mockInstance;
auto* old = SwapJouralHandler(&mockInstance);
SwapJouralHandler(old);
}
} // namespace logging
} // namespace phosphor