public function testHttpBasicConfig()
 {
     // create mock storage
     $storage = Bootstrap::getInstance()->getMemoryStorage();
     $server = new Server(array($storage), array('allow_credentials_in_request_body' => false, 'allow_public_clients' => false));
     $server->getTokenController();
     $httpBasic = $server->getClientAssertionType();
     $reflection = new \ReflectionClass($httpBasic);
     $prop = $reflection->getProperty('config');
     $prop->setAccessible(true);
     $config = $prop->getValue($httpBasic);
     // get the private "config" property
     $this->assertEquals($config['allow_credentials_in_request_body'], false);
     $this->assertEquals($config['allow_public_clients'], false);
 }