public function testOAuthBearerAuth() { $headerContent = 'Bearer L-yLEOr9zhmUYRkzN1jwwxwQ-PBNiKDc8dgfB4hTfvo'; $this->_setServerVar(array('HTTP_AUTHORIZATION' => $headerContent)); is(array('AUTHORIZATION' => $headerContent), Http::getHeaders()); }