<?php require __DIR__ . '/../../../vendor/autoload.php'; use OpenStack\OpenStack; $client = new OpenStack(); $objectStore = $client->objectStoreV2(['region' => 'RegionOne']);
public function test_it_supports_images_v2() { $this->builder->createService('Images\\v2', ['catalogName' => 'glance', 'catalogType' => 'image'])->shouldBeCalled()->willReturn($this->service(ImageServiceV2::class)); $this->openstack->imagesV2(); }