1. Good point.
2. I would normally have created a mock but was following what is already being done in https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Tests/ApplicationTest.php#L880