public function testFormatCurrency()
 {
     $value = 1234.5;
     $currency = 'USD';
     $attributes = array('grouping_size' => 3);
     $textAttributes = array('grouping_separator_symbol' => ',');
     $symbols = array('symbols' => '$');
     $locale = 'en_US';
     $options = array('currency' => $currency, 'attributes' => $attributes, 'textAttributes' => $textAttributes, 'symbols' => $symbols, 'locale' => $locale);
     $expectedResult = '$1,234.45';
     $this->formatter->expects($this->once())->method('formatCurrency')->with($value, $currency, $attributes, $textAttributes, $symbols, $locale)->will($this->returnValue($expectedResult));
     $this->assertEquals($expectedResult, $this->extension->formatCurrency($value, $options));
 }