/** * @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'); }