'expected_key' => 'en_GB.messages.099584009f94b788bd46580c17f49c0b22c55e16',
];
} /**
* @dataProvider readProviderExceptionsProvider
*/
public function testReadProviderExceptions(int
$statusCode, string
$expectedExceptionMessage, string
$expectedLoggerMessage) { $this->
expectException(ProviderExceptionInterface::
class);
$this->
expectExceptionCode(0
);
$this->
expectExceptionMessage($expectedExceptionMessage);
$this->
getLogger() ->
expects(self::
once()) ->
method('error'
) ->
with($expectedLoggerMessage);
$responses =
[ 'init locales' =>
$this->
getInitLocaleResponseMock(),
'provider error' =>
new MockResponse('provider error',
[ 'http_code' =>
$statusCode,