public function DebugTest::testDisablesOutput in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/DebugTest.php \Doctrine\Tests\Common\Util\DebugTest::testDisablesOutput()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Util/ DebugTest.php, line 53
Class
Namespace
Doctrine\Tests\Common\UtilCode
public function testDisablesOutput() {
ob_start();
$dump = Debug::dump('foo', 2, true, false);
$outputValue = ob_get_contents();
ob_end_clean();
$this
->assertEmpty($outputValue);
$this
->assertNotSame($outputValue, $dump);
}