Searched refs:client (Results 1 – 3 of 3) sorted by relevance
11 private $client; variable in App\\Tests\\Unit\\Utils\\Versions\\ClientTest15 $this->client = new Client();17 $reflection = new \ReflectionClass($this->client);21 $devVersionsUrl->setValue($this->client, TEST_MOCKS_DIRECTORY . '/responses/dev-body.txt');25 … $stableVersionsUrl->setValue($this->client, TEST_MOCKS_DIRECTORY . '/responses/stable-body.txt');30 $this->assertIsArray($this->client->fetchDevVersions());35 $this->assertIsArray($this->client->fetchStableVersions());
19 private $client; variable in App\\Tests\\Unit\\Utils\\Versions\\GeneratorTest31 $this->client = $this->getMockBuilder(Client::class)35 $this->client->expects($this->once())39 $this->client->expects($this->once())44 ->setConstructorArgs([$this->client, $this->cache])
33 private $client; variable in App\\Utils\\Versions\\Generator59 public function __construct(Client $client, Cache $cache) argument61 $this->client = $client;141 foreach ($this->client->fetchDevVersions() as $version) {158 foreach ($this->client->fetchStableVersions() as $releases) {
Completed in 5 milliseconds