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