/** * Test convert an array to all integers. * * @param string $input The array being input * @param string $default The default value * @param string $expect The expected return value * @param string $message The failure message * * @return void * * @dataProvider seedTestToInteger * @covers Windwalker\Utilities\ArrayHelper::toInteger * @since 1.0 */ public function testToInteger($input, $default, $expect, $message) { $result = ArrayHelper::toInteger($input, $default); $this->assertEquals($expect, $result, $message); }