You are here

public function FlattenExceptionTest::testFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/debug/Tests/Exception/FlattenExceptionTest.php \Symfony\Component\Debug\Tests\Exception\FlattenExceptionTest::testFile()

@dataProvider flattenDataProvider

File

vendor/symfony/debug/Tests/Exception/FlattenExceptionTest.php, line 146

Class

FlattenExceptionTest

Namespace

Symfony\Component\Debug\Tests\Exception

Code

public function testFile(\Exception $exception) {
  $flattened = FlattenException::create($exception);
  $this
    ->assertSame($exception
    ->getFile(), $flattened
    ->getFile());
}