You are here

public function DebugTest::testReturnsOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/DebugTest.php \Doctrine\Tests\Common\Util\DebugTest::testReturnsOutput()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Util/DebugTest.php, line 41

Class

DebugTest

Namespace

Doctrine\Tests\Common\Util

Code

public function testReturnsOutput() {
  ob_start();
  $dump = Debug::dump('foo');
  $outputValue = ob_get_contents();
  ob_end_clean();
  $this
    ->assertSame($outputValue, $dump);
}