Cocur\Slugify\Tests\Bridge\Laravel\SlugifyProviderTest::registerRegistersTheServiceProvider PHP 메소드

registerRegistersTheServiceProvider() 공개 메소드

    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']);
    }