You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
322 B

<?php
namespace yiiunit\framework\helpers;
12 years ago
use \yii\helpers\VarDumper;
use yii\test\TestCase;
class VarDumperTest extends TestCase
{
public function testDumpObject()
{
$obj = new \StdClass();
12 years ago
ob_start();
VarDumper::dump($obj);
12 years ago
$this->assertEquals("stdClass#1\n(\n)", ob_get_contents());
ob_end_clean();
}
}