You are here

public function FlattenExceptionTest::testLine 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::testLine()

@dataProvider flattenDataProvider

File

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

Class

FlattenExceptionTest

Namespace

Symfony\Component\Debug\Tests\Exception

Code

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