You are here

public function DebugTest::testExportObject in Plug 7

File

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