public function testListAddressesByNetwork() { if (empty(self::$serverId)) { $this->markTestSkipped('The server ID is empty'); } $addresses = $this->compute->listAddressesByNetwork(self::$serverId, 'public'); $this->assertTrue(is_array($addresses)); $this->assertTrue(isset($addresses['public'])); }