public function testFormatPercent()
 {
     $value = 99;
     $attributes = array('grouping_size' => 3);
     $textAttributes = array('grouping_separator_symbol' => ',');
     $symbols = array('symbols' => '$');
     $locale = 'en_US';
     $options = array('attributes' => $attributes, 'textAttributes' => $textAttributes, 'symbols' => $symbols, 'locale' => $locale);
     $expectedResult = '99%';
     $this->formatter->expects($this->once())->method('formatPercent')->with($value, $attributes, $textAttributes, $symbols, $locale)->will($this->returnValue($expectedResult));
     $this->assertEquals($expectedResult, $this->extension->formatPercent($value, $options));
 }