Cocur\Slugify\Tests\Bridge\Laravel\SlugifyProviderTest::registerRegistersTheServiceProvider PHP Method

registerRegistersTheServiceProvider() public method

    public function registerRegistersTheServiceProvider()
    {
        $this->provider->register();
        // the service provider is deferred, so this forces it to load
        $this->app->make('slugify');
        $this->assertArrayHasKey('slugify', $this->app);
        $this->assertInstanceOf('Cocur\\Slugify\\Slugify', $this->app['slugify']);
    }