diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php index 006c1dc7a8..3c8593a8c3 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php @@ -21,15 +21,15 @@ abstract class VarDumperTestCase extends \PHPUnit_Framework_TestCase { public function assertDumpEquals($dump, $data, $message = '') { - $this->assertSame(rtrim($dump), $this->getVarDumperDump($data), $message); + $this->assertSame(rtrim($dump), $this->getDump($data), $message); } public function assertDumpMatchesFormat($dump, $data, $message = '') { - $this->assertStringMatchesFormat(rtrim($dump), $this->getVarDumperDump($data), $message); + $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - private function getVarDumperDump($data) + private function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner();