/** @test */
 function it_should_add_2_decimal_places_to_an_integer_money_amount()
 {
     $this->assertEquals('546.00', $this->formatter->formatMoneyAmount(546));
 }
예제 #2
0
 /**
  * @param integer $amount
  * @return string
  */
 public function formatMoneyAmount($amount)
 {
     return $this->formatter->formatMoneyAmount($amount);
 }