Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getFractionDigits($currency)
 {
     try {
         return parent::getFractionDigits($currency);
     } catch (MissingResourceException $e) {
         return null;
     }
 }
 /**
  * @dataProvider provideCurrencies
  */
 public function testGetFractionDigits($currency)
 {
     $this->assertTrue(is_numeric($this->dataProvider->getFractionDigits($currency)));
 }