You are here

public function DebugTest::testExportObject in Zircon Profile 8.0

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

File

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

Class

DebugTest

Namespace

Doctrine\Tests\Common\Util

Code

public function testExportObject() {
  $obj = new \stdClass();
  $obj->foo = "bar";
  $obj->bar = 1234;
  $var = Debug::export($obj, 2);
  $this
    ->assertEquals("stdClass", $var->__CLASS__);
}