public function DebugTest::testDisablesOutput in Plug 7
File
- lib/
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);
}