示例#1
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->group = new Group($this->client->reveal(), new Api());
     $this->group->id = 'GROUP_ID';
 }
示例#2
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
     $this->token->id = 'TOKEN_ID';
 }
示例#3
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->image = new Image($this->client->reveal(), new Api());
     $this->image->id = 'imageId';
 }
示例#4
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->container = new Container($this->client->reveal(), new Api());
     $this->container->name = self::NAME;
 }
示例#5
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->volume = new Volume($this->client->reveal(), new Api());
     $this->volume->id = '1';
 }
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->credential = new Credential($this->client->reveal(), new Api());
     $this->credential->id = 'CRED_ID';
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->def = ['method' => 'GET', 'path' => 'test', 'params' => []];
     $this->operator = new TestOperator($this->client->reveal(), new ComputeV2Api());
 }
示例#8
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->project = new Project($this->client->reveal(), new Api());
     $this->project->id = 'PROJECT_ID';
 }
示例#9
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->flavor = new Flavor($this->client->reveal(), new Api());
     $this->flavor->id = 1;
 }
示例#10
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->subnet = new Subnet($this->client->reveal(), new Api());
     $this->subnet->id = 'subnetId';
 }
示例#11
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->network = new Network($this->client->reveal(), new Api());
     $this->network->id = 'networkId';
 }
示例#12
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->domain = new Domain($this->client->reveal(), new Api());
     $this->domain->id = 'DOMAIN_ID';
 }
示例#13
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->snapshot = new Snapshot($this->client->reveal(), new Api());
     $this->snapshot->id = '1';
 }
示例#14
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->user = new User($this->client->reveal(), new Api());
     $this->user->id = 'USER_ID';
 }
示例#15
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->policy = new Policy($this->client->reveal(), new Api());
     $this->policy->id = 'POLICY_ID';
 }
示例#16
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->server = new Server($this->client->reveal(), new Api());
     $this->server->id = 'serverId';
 }
示例#17
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->service = new Service($this->client->reveal(), new Api());
     $this->service->id = 'SERVICE_ID';
 }
示例#18
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->role = new Role($this->client->reveal(), new Api());
     $this->role->id = 'ROLE_ID';
 }
示例#19
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->member = new Member($this->client->reveal(), new Api());
     $this->member->imageId = 'foo';
     $this->member->id = 'bar';
 }
示例#20
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->service = new Service($this->client->reveal(), new Api());
     $this->endpoint = new Endpoint($this->client->reveal(), new Api());
     $this->endpoint->id = 'ENDPOINT_ID';
 }
示例#21
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->object = new Object($this->client->reveal(), new Api());
     $this->object->containerName = self::CONTAINER;
     $this->object->name = self::NAME;
 }
示例#22
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->port = new Port($this->client->reveal(), new Api());
     $this->port->id = self::PORT_ID;
     $this->port->networkId = self::NETWORK_ID;
 }
示例#23
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->image = new Image($this->client->reveal(), new Api());
     $this->image->id = '386f0425-3ee8-4688-b73f-272328fe4c71';
     $this->path = sprintf("v2/images/%s", $this->image->id);
 }
示例#24
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->service = new Service($this->client->reveal(), new Api());
 }
示例#25
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->catalog = new Catalog($this->client->reveal(), new Api());
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->resource = new TestResource();
 }
示例#27
0
 public function setUp()
 {
     parent::setUp();
     $this->endpoint = new Endpoint($this->client->reveal(), new Api());
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->resource = new TestOperatorResource($this->client->reveal(), new Api());
 }
示例#29
0
 public function setUp()
 {
     parent::setUp();
     $this->entry = new Entry($this->client->reveal(), new Api());
 }
示例#30
0
 public function setUp()
 {
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
 }