You are here

public function DebugTest::testExportDateTime in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Util/DebugTest.php, line 20

Class

DebugTest

Namespace

Doctrine\Tests\Common\Util

Code

public function testExportDateTime() {
  $obj = new \DateTime("2010-10-10 10:10:10");
  $var = Debug::export($obj, 2);
  $this
    ->assertEquals("DateTime", $var->__CLASS__);
}