KnpU\OAuth2ClientBundle\Tests\DependencyInjection\KnpUOAuth2ClientExtensionTest::testNoClientMakesNoServices PHP Method

testNoClientMakesNoServices() public method

    public function testNoClientMakesNoServices()
    {
        $this->configuration = new ContainerBuilder();
        $loader = new KnpUOAuth2ClientExtension();
        $config = [];
        $loader->load([$config], $this->configuration);
        $this->assertFalse($this->configuration->hasDefinition('knpu.oauth2.facebook_client'));
    }