| 1 | <?php |
||
| 13 | class EcbClientMock implements EcbClientInterface |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var ResponseInterface |
||
| 18 | */ |
||
| 19 | private $response; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $expectedResponse |
||
| 23 | */ |
||
| 24 | public function __construct(string $expectedResponse) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @throws ExchangeRatesRequestFailedException |
||
| 41 | * @return ExchangeRate[] |
||
| 42 | */ |
||
| 43 | public function getExchangeRates(): array |
||
| 48 | |||
| 49 | } |