Beispiel #1
0
 /**
  * @dataProvider providerOfMinor
  *
  * @param string   $currency
  * @param int      $amountMinor
  * @param int|null $fractionDigits
  * @param string   $expectedAmount
  */
 public function testOfMinor($currency, $amountMinor, $fractionDigits, $expectedAmount)
 {
     $this->assertMoneyEquals($expectedAmount, $currency, Money::ofMinor($amountMinor, $currency, $fractionDigits));
 }