public static function setUpBeforeClass() { self::$tokenStore = ObjectStorage_TokenStore::factory('file', array('ttl' => 3600, 'path' => '/tmp')); $options = array('adapter' => ObjectStorage_Http_Client::SOCKET, 'timeout' => 10); ObjectStorage::setTokenStore(self::$tokenStore); $objectStorage01 = new ObjectStorage(self::$host, self::$username, self::$password, $options); self::$objectStorage = $objectStorage01; }