AuthBucket\Bundle\OAuth2Bundle\Tests\GrantType\GrantTypeHandlerFactoryTest::testBadGetGrantTypeHandler PHP Method

testBadGetGrantTypeHandler() public method

    public function testBadGetGrantTypeHandler()
    {
        $classes = ['bar' => 'AuthBucket\\Bundle\\OAuth2Bundle\\Tests\\GrantType\\BarGrantTypeHandler'];
        $factory = new GrantTypeHandlerFactory($this->get('security.token_storage'), $this->get('security.encoder_factory'), $this->get('validator'), $this->get('authbucket_oauth2.model_manager.factory'), $this->get('authbucket_oauth2.token_handler.factory'), null, $classes);
        $handler = $factory->getGrantTypeHandler('foo');
    }