Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getRoundingIncrement($currency)
 {
     try {
         return parent::getRoundingIncrement($currency);
     } catch (MissingResourceException $e) {
         return null;
     }
 }
 /**
  * @dataProvider provideInvalidNumericCodes
  * @expectedException \Symfony\Component\Intl\Exception\MissingResourceException
  */
 public function testForNumericCodeFailsIfInvalidNumericCode($currency)
 {
     $this->dataProvider->forNumericCode($currency);
 }