/** * @dataProvider provider */ public function testNegativePronunciations($input, $expected) { $number = new IntegerNumber($input, IntegerNumber::BASE_HEX); $number->setIsPositive(false); $pronouncer = new HexPronouncer(); $pronunciation = $pronouncer->pronounce($number); $this->assertEquals("negative " . $expected, $pronunciation); }