refactoring to interfaces complete
This commit is contained in:
@@ -23,11 +23,11 @@ SCENARIO("An InputDriver gets created", "[construction}")
|
||||
|
||||
WHEN("The InputDriver gets created")
|
||||
{
|
||||
Input::InputDriver input_driver(&event_notifier);
|
||||
Input::InputDriver input_driver(&event_notifier_mock.get());
|
||||
|
||||
THEN("It saved the EventNotifier")
|
||||
{
|
||||
REQUIRE(input_driver.event_notifier == &event_notifier);
|
||||
REQUIRE(input_driver.event_notifier == &event_notifier_mock.get());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user