/** * @dataProvider getCurrencyData */ public function testCurrency($alpha3, $factor, $decimalDigits) { $currency = new ISO4217Currency($alpha3); $this->assertSame($alpha3, $currency->getAlpha3()); $this->assertSame($factor, $currency->getFactorOfSmallestUnit()); $this->assertSame($decimalDigits, $currency->getDecimalDigits()); }