Example #1
0
void EventManagerFixture:: Should_Queue_Event_Successfully_Given_Intiailized()
{
    IEvent* event = new Event(TEST_EVENT);

    EventManager eventManager;
    eventManager.QueueEvent(event);
}
Example #2
0
void EventManagerFixture:: Should_Throw_Given_NULL_Event_To_QueueEvent()
{
    EventManager eventManager;
    CPPUNIT_ASSERT_THROW(eventManager.QueueEvent(0), NullReferenceException);
}
Example #3
0
void EventManagerFixture:: Should_Queue_Event_Given_Correct_Event()
{
    EventManager eventManager;
    eventManager.QueueEvent(new Event(TEST_EVENT));
}