/**
* @expectedException \Symfony\Component\Filesystem\Exception\FileNotFoundException
* @expectedExceptionMessage File "/i/dont/exist" could not be found.
*/
public function testAddInvalidPath()
{
$profiler = new Profiler();
$finder = $this->getMock(TemplateFinderInterface::class);
$fixture_path = realpath(__DIR__ . '/../../Fixture');
$tracker = new Tracker($profiler, $finder, $fixture_path . '/cache', $fixture_path, []);
$tracker->addPath("/i/dont/exist");
}