public function setUp() { $this->currencyRateProvider = $this->getMock('\\RedCode\\Currency\\Rate\\Provider\\ICurrencyRateProvider'); $this->currencyRateProvider->method('getName')->willReturn('testName'); }
public function setUp() { $this->provider = $this->getMock(self::PROVIDER_INTERFACE); $this->provider->method('getName')->willReturn($this->providerName); }