public function DebugTest::testExportObject in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
Doctrine\Tests\Common\UtilCode
public function testExportObject() {
$obj = new \stdClass();
$obj->foo = "bar";
$obj->bar = 1234;
$var = Debug::export($obj, 2);
$this
->assertEquals("stdClass", $var->__CLASS__);
}