public function MongoDbProfilerStorageTest::testDsnParser in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Profiler/MongoDbProfilerStorageTest.php \Symfony\Component\HttpKernel\Tests\Profiler\MongoDbProfilerStorageTest::testDsnParser()
@dataProvider getDsns
File
- vendor/
symfony/ http-kernel/ Tests/ Profiler/ MongoDbProfilerStorageTest.php, line 119
Class
Namespace
Symfony\Component\HttpKernel\Tests\ProfilerCode
public function testDsnParser($dsn, $expected) {
$m = new \ReflectionMethod(self::$storage, 'parseDsn');
$m
->setAccessible(true);
$this
->assertEquals($expected, $m
->invoke(self::$storage, $dsn));
}