public function setUp() { $this->httpClient = $this->createClient(); $container = $this->httpClient->getContainer(); $this->restApi = $container->get('wr_google_drive.rest_api'); $this->encryptor = $container->get('syrup.object_encryptor'); $this->testCsvPath = realpath(__DIR__ . '/../data/test.csv'); $this->test2CsvPath = realpath(__DIR__ . '/../data/test2.csv'); $this->test3CsvPath = realpath(__DIR__ . '/../data/test3.csv'); $this->expectedFeedPath = realpath(__DIR__ . '/../data/test-feed.xml'); $accessToken = $this->encryptor->decrypt(ACCESS_TOKEN); $refreshToken = $this->encryptor->decrypt(REFRESH_TOKEN); $this->initApi($accessToken, $refreshToken); }