public function register()
{
// it seems like Application is not mockable.
$app = new Application();
$app->register(new SlugifyServiceProvider());
$app->boot();
$this->assertArrayHasKey('slugify', $app);
$this->assertArrayHasKey('slugify.provider', $app);
$this->assertArrayHasKey('slugify.options', $app);
$this->assertInstanceOf('Cocur\\Slugify\\Slugify', $app['slugify']);
}