public function testCreateServer() { $options = array('name' => 'testZF2', 'imageRef' => '3afe97b2-26dc-49c5-a2cc-a2fc8d80c001', 'flavorRef' => '2'); $server = $this->compute->createServer($options); $this->assertTrue($server instanceof Compute\Server); $this->assertEquals($options['name'], $server->getName()); self::$serverId = $server->getId(); }