AuthBucket\Bundle\OAuth2Bundle\Tests\ResponseType\ResponseTypeHandlerFactoryTest::testBadGetResponseTypeHandler PHP Method

testBadGetResponseTypeHandler() public method

    public function testBadGetResponseTypeHandler()
    {
        $classes = ['bar' => 'AuthBucket\\Bundle\\OAuth2Bundle\\Tests\\ResponseType\\BarResponseTypeHandler'];
        $factory = new ResponseTypeHandlerFactory($this->get('security.token_storage'), $this->get('validator'), $this->get('authbucket_oauth2.model_manager.factory'), $this->get('authbucket_oauth2.token_handler.factory'), $classes);
        $handler = $factory->getResponseTypeHandler('foo');
    }