/** * @return array */ public function getGlobals() { return array('currency' => array('default' => $this->currency->getDefaultCurrency())); }
public function testCurrencyName() { $this->currencyBundle->expects($this->once())->method('getCurrencyName')->with('USD')->will($this->returnValue('US Dollar')); $this->assertEquals('US Dollar', $this->currency->getCurrencyName('USD')); }