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. /**
  14. * CocurSlugifyBundleTest
  15. *
  16. * @category test
  17. * @package cocur/slugify
  18. * @subpackage bridge
  19. * @author Florian Eckerstorfer <florian@eckerstorfer.co>
  20. * @copyright 2012-2014 Florian Eckerstorfer
  21. * @license http://www.opensource.org/licenses/MIT The MIT License
  22. * @group unit
  23. */
  24. class CocurSlugifyBundleTest extends \PHPUnit_Framework_TestCase
  25. {
  26. /**
  27. * @covers Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle::getContainerExtension()
  28. */
  29. public function testGetContainerExtension()
  30. {
  31. $bundle = new CocurSlugifyBundle();
  32. static::assertInstanceOf(CocurSlugifyExtension::class, $bundle->getContainerExtension());
  33. }
  34. }