Example #1
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->policy = new Policy($this->client->reveal(), new Api());
     $this->policy->id = 'POLICY_ID';
 }
Example #2
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->domain = new Domain($this->client->reveal(), new Api());
     $this->domain->id = 'DOMAIN_ID';
 }
Example #3
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->flavor = new Flavor($this->client->reveal(), new Api());
     $this->flavor->id = 1;
 }
Example #4
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->user = new User($this->client->reveal(), new Api());
     $this->user->id = 'USER_ID';
 }
Example #5
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->volumeType = new VolumeType($this->client->reveal(), new Api());
     $this->volumeType->id = '1';
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->def = ['method' => 'GET', 'path' => 'test', 'params' => []];
     $this->operator = new TestOperator($this->client->reveal(), new ComputeV2Api());
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->securityGroup = new SecurityGroup($this->client->reveal(), new Api());
     $this->securityGroup->id = self::SECURITY_GROUP_ID;
 }
Example #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';
 }
Example #9
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->image = new Image($this->client->reveal(), new Api());
     $this->image->id = 'imageId';
 }
Example #10
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->network = new Network($this->client->reveal(), new Api());
     $this->network->id = 'networkId';
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->floatingIp = new FloatingIp($this->client->reveal(), new Api());
     $this->floatingIp->id = 'id';
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->securityGroupRule = new SecurityGroupRule($this->client->reveal(), new Api());
     $this->securityGroupRule->id = 'id';
 }
Example #13
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->credential = new Credential($this->client->reveal(), new Api());
     $this->credential->id = 'CRED_ID';
 }
Example #14
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
     $this->token->id = 'TOKEN_ID';
 }
Example #15
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->container = new Container($this->client->reveal(), new Api());
     $this->container->name = self::NAME;
 }
Example #16
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->router = new Router($this->client->reveal(), new Api());
     $this->router->id = 'id';
 }
Example #17
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->subnet = new Subnet($this->client->reveal(), new Api());
     $this->subnet->id = 'subnetId';
 }
Example #18
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->group = new Group($this->client->reveal(), new Api());
     $this->group->id = 'GROUP_ID';
 }
Example #19
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->role = new Role($this->client->reveal(), new Api());
     $this->role->id = 'ROLE_ID';
 }
Example #20
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->snapshot = new Snapshot($this->client->reveal(), new Api());
     $this->snapshot->id = '1';
 }
Example #21
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->service = new Service($this->client->reveal(), new Api());
     $this->service->id = 'SERVICE_ID';
 }
Example #22
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';
 }
Example #23
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';
 }
Example #24
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);
 }
Example #25
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;
 }
Example #26
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;
 }
Example #27
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->keypair = new Keypair($this->client->reveal(), new Api());
     $this->keypair->id = 1;
     $this->keypair->name = self::KEYPAIR_NAME;
 }
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->resource = new TestResource(new Client(), new ComputeV2Api());
 }
Example #29
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->service = new Service($this->client->reveal(), new Api());
 }
Example #30
0
 public function setUp()
 {
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
 }