public static function setUpBeforeClass()
{
if (self::$hasSetUp) {
return;
}
self::$client = new StorageClient(['keyFilePath' => getenv('GOOGLE_CLOUD_PHP_TESTS_KEY_PATH')]);
self::$bucket = self::$client->createBucket(uniqid(self::TESTING_PREFIX));
self::$object = self::$bucket->upload('somedata', ['name' => uniqid(self::TESTING_PREFIX)]);
self::$hasSetUp = true;
}