/** * @covers ::toInteger * @dataProvider providerToInteger * @expectedException Headzoo\Core\Exceptions\InvalidArgumentException */ public function testToInteger_Invalid($value) { Errors::toInteger($value); }