示例#1
0
 /**
  * @dataProvider simpleArrayProvider
  */
 public function testToJson(array $array)
 {
     $json = json_encode($array);
     $ma = new MutableArray($array);
     $this->assertTrue($json === $ma->toJson());
 }