yield 'supported' =>
[true, 'phrase://PROJECT_ID:API_TOKEN@default?userAgent=myProject'
];
yield 'not supported' =>
[false, 'unsupported://PROJECT_ID:API_TOKEN@default?userAgent=myProject'
];
} private function createFactory(): PhraseProviderFactory
{ return new PhraseProviderFactory( $this->
getHttpClient(),
$this->
getLogger(),
$this->
getLoader(),
$this->
getXliffFileDumper(),
$this->
getCache(),
$this->
getDefaultLocale() );
} private function getHttpClient(): MockObject&MockHttpClient
{ return $this->httpClient ??=
$this->
createMock(MockHttpClient::
class);
} private function getLogger(): MockObject&LoggerInterface
{