Author: Fabien Potencier (fabien@symfony.com)
Author: Théo FIDRY (theo.fidry@gmail.com)
Inheritance: implements Nelmio\Alice\FileLocatorInterface
Example #1
0
 /**
  * @expectedException \Nelmio\Alice\Throwable\Exception\FileLocator\FileNotFoundException
  * @expectedExceptionMessageRegExp /^The file "(.+?)foobar.xml" does not exist\.$/
  */
 public function testLocatingFileThrowsExceptionIfTheFileDoesNotExistsInAbsolutePath()
 {
     $this->locator->locate(__DIR__ . '/Fixtures/foobar.xml');
 }