public function testValidatingAuthorizationRequestSucceeds()
 {
     $storage = $this->getStorageMock();
     $authorization = new Authorization($storage, Request::create('testing', 'POST', ['response_type' => 'code']));
     $authorization->registerGrant(new AuthorizationCodeGrantStub());
     $this->assertTrue($authorization->validateAuthorizationRequest());
 }