コード例 #1
0
 /**
  * method getSymbolPosition
  * when called
  * should returnSymbolPositionWithZeroOrOneValues
  * @dataProvider getSymbolPositionFromLocale
  */
 public function test_getSymbolPosition_called_returnPositionSymbolWithZeroOrOneValues($locale, $currency, $expected)
 {
     $sut = new MoneyFormatter();
     $actual = $sut->getSymbolPosition($locale, new Currency($currency));
     $this->assertEquals($expected, $actual);
 }