getMinimumFractionDigits() public method

 /**
  * @covers ::getMinimumFractionDigits
  *
  * @uses \CommerceGuys\Intl\Formatter\NumberFormatter::__construct
  * @uses \CommerceGuys\Intl\NumberFormat\NumberFormat
  */
 public function testMinimumFractionDigits()
 {
     $numberFormat = $this->createNumberFormat($this->numberFormats['latn']);
     // Defaults to 0 for decimal and percentage formats.
     $formatter = new NumberFormatter($numberFormat, NumberFormatter::DECIMAL);
     $this->assertEquals(0, $formatter->getMinimumFractionDigits());
     $formatter = new NumberFormatter($numberFormat, NumberFormatter::PERCENT);
     $this->assertEquals(0, $formatter->getMinimumFractionDigits());
     // Should default to null for currency formats.
     $formatter = new NumberFormatter($numberFormat, NumberFormatter::CURRENCY);
     $this->assertNull($formatter->getMinimumFractionDigits());
     $formatter = new NumberFormatter($numberFormat, NumberFormatter::CURRENCY_ACCOUNTING);
     $this->assertNull($formatter->getMinimumFractionDigits());
 }