public function getUserAgent() { return (string) 'PHP Dropbox/' . self::VERSION . ' ' . $this->userAgent; }
/** * Tests Dropbox->getUserAgent() */ public function testGetUserAgent() { $this->dropbox->setUserAgent('testing/1.0.0'); $this->assertEquals('PHP Dropbox/' . Dropbox::VERSION . ' testing/1.0.0', $this->dropbox->getUserAgent()); }