4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\VarDumper\Tests\Test;
14 use PHPUnit\Framework\TestCase;
15 use Symfony\Component\VarDumper\Test\VarDumperTestTrait;
17 class VarDumperTestTraitTest extends TestCase
19 use VarDumperTestTrait;
21 public function testItComparesLargeData()
24 $data = array_fill_keys(range(0, $howMany), array('a', 'b', 'c', 'd'));
26 $expected = sprintf("array:%d [\n", $howMany + 1);
27 for ($i = 0; $i <= $howMany; ++$i) {
28 $expected .= <<<EODUMP
39 $this->assertDumpEquals($expected, $data);