/** * @dataProvider simpleArrayProvider */ public function testExportReturn(array $array) { $ma = new MutableArray($array); $exported = var_export($array, true); $this->assertTrue($exported === $ma->export(true)); }