refactoring to interfaces complete

This commit is contained in:
Jonas Zeunert
2018-06-14 21:37:54 +02:00
parent 13b5cc0b33
commit 692a2bd68f
11 changed files with 41 additions and 37 deletions

View File

@@ -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());
}
}
}