You are here

public function DebugTest::testReturnsOutput in Plug 7

File

lib/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);
}