assertSame($expected, (string) $provider); } protected function getClient() : MockHttpClient { return $this->client ?? ($this->client = new MockHttpClient()); } protected function getLoader() : LoaderInterface { return $this->loader ?? ($this->loader = $this->createMock(LoaderInterface::class)); } protected function getLogger() : LoggerInterface { return $this->logger ?? ($this->logger = $this->createMock(LoggerInterface::class)); } protected function getDefaultLocale() : string { return $this->defaultLocale ?? ($this->defaultLocale = 'en'); } protected function getXliffFileDumper() : XliffFileDumper { return $this->xliffFileDumper ?? ($this->xliffFileDumper = $this->createMock(XliffFileDumper::class)); } }