/** * Исключение, если курс не найден */ public function testExceptionIfRateNotFound() { $ex = new myCurrencyExchange(); $this->setExpectedException('Exception', 'Rate not found'); $ex->getRate(myMoney::USD); }