Test Mediator Source
Functions
-
TEST_F(MediatorTest, CommunicationBetweenColleagues)
Test communication between colleagues using the mediator.
-
TEST_F(MediatorTest, SendMessageWithoutColleagues)
Test sending a message when no colleagues are registered.
-
TEST_F(MediatorTest, DynamicColleagueAddition)
Test adding colleagues dynamically to the mediator.
-
class MediatorTest : public testing::Test
Fixture for testing the Mediator pattern.
Protected Functions
-
inline void SetUp() override
-
inline void TearDown() override
Protected Attributes
-
std::ostringstream logStream
Log stream for capturing output.
-
inline void SetUp() override