You are here

public function DebugTest::testExportDateTime 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::testExportDateTime()

File

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