CocurSlugifyBundleTest.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * This file is part of cocur/slugify.
  4. *
  5. * (c) Florian Eckerstorfer <florian@eckerstorfer.co>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Cocur\Slugify\Tests\Bridge\Symfony;
  11. use Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle;
  12. use Cocur\Slugify\Bridge\Symfony\CocurSlugifyExtension;
  13. use Mockery\Adapter\Phpunit\MockeryTestCase;
  14. /**
  15. * CocurSlugifyBundleTest
  16. *
  17. * @category test
  18. * @package cocur/slugify
  19. * @subpackage bridge
  20. * @author Florian Eckerstorfer <florian@eckerstorfer.co>
  21. * @copyright 2012-2014 Florian Eckerstorfer
  22. * @license http://www.opensource.org/licenses/MIT The MIT License
  23. * @group unit
  24. */
  25. class CocurSlugifyBundleTest extends MockeryTestCase
  26. {
  27. /**
  28. * @covers \Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle::getContainerExtension()
  29. */
  30. public function testGetContainerExtension()
  31. {
  32. $bundle = new CocurSlugifyBundle();
  33. static::assertInstanceOf(CocurSlugifyExtension::class, $bundle->getContainerExtension());
  34. }
  35. }