/** * @dataProvider simpleArrayProvider */ public function testIsNumeric(array $array, $type = false) { $ma = new MutableArray($array); $this->assertTrue(($type === 'numeric') === $ma->isNumeric()); }