Example #1
0
 public function testToObject()
 {
     $obj = array('test1' => 1, 'test2' => 2);
     $this->assertEquals(ArrayUtils::toObject($obj), (object) $obj);
 }