Пример #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';
 }
Пример #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';
 }
Пример #3
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->flavor = new Flavor($this->client->reveal(), new Api());
     $this->flavor->id = 1;
 }
Пример #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';
 }
Пример #5
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->volumeType = new VolumeType($this->client->reveal(), new Api());
     $this->volumeType->id = '1';
 }
Пример #6
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->def = ['method' => 'GET', 'path' => 'test', 'params' => []];
     $this->operator = new TestOperator($this->client->reveal(), new ComputeV2Api());
 }
Пример #7
0
 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;
 }
Пример #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->image = new Image($this->client->reveal(), new Api());
     $this->image->id = 'imageId';
 }
Пример #10
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->network = new Network($this->client->reveal(), new Api());
     $this->network->id = 'networkId';
 }
Пример #11
0
 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';
 }
Пример #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';
 }
Пример #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';
 }
Пример #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;
 }
Пример #16
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->router = new Router($this->client->reveal(), new Api());
     $this->router->id = 'id';
 }
Пример #17
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->subnet = new Subnet($this->client->reveal(), new Api());
     $this->subnet->id = 'subnetId';
 }
Пример #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';
 }
Пример #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';
 }
Пример #20
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->snapshot = new Snapshot($this->client->reveal(), new Api());
     $this->snapshot->id = '1';
 }
Пример #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';
 }
Пример #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';
 }
Пример #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';
 }
Пример #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);
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #28
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->resource = new TestResource(new Client(), new ComputeV2Api());
 }
Пример #29
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->service = new Service($this->client->reveal(), new Api());
 }
Пример #30
0
 public function setUp()
 {
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
 }