Beispiel #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';
 }
Beispiel #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';
 }
Beispiel #3
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->flavor = new Flavor($this->client->reveal(), new Api());
     $this->flavor->id = 1;
 }
Beispiel #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';
 }
Beispiel #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;
 }
Beispiel #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';
 }
Beispiel #9
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->image = new Image($this->client->reveal(), new Api());
     $this->image->id = 'imageId';
 }
Beispiel #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';
 }
Beispiel #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';
 }
Beispiel #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';
 }
Beispiel #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;
 }
Beispiel #16
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->router = new Router($this->client->reveal(), new Api());
     $this->router->id = 'id';
 }
Beispiel #17
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->subnet = new Subnet($this->client->reveal(), new Api());
     $this->subnet->id = 'subnetId';
 }
Beispiel #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';
 }
Beispiel #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';
 }
Beispiel #20
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->snapshot = new Snapshot($this->client->reveal(), new Api());
     $this->snapshot->id = '1';
 }
Beispiel #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';
 }
Beispiel #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';
 }
Beispiel #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';
 }
Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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());
 }
Beispiel #29
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->service = new Service($this->client->reveal(), new Api());
 }
Beispiel #30
0
 public function setUp()
 {
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
 }