public function testEnsureObject() { $obj = new stdClass(); $this->assertTrue(CPropertyValue::ensureObject($obj) === $obj); }